There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Tag Cloud
access acer asus bios bsod computer crash drive driver drivers error ethernet excel freeze games gaming hard drive hardware hdmi internet java laptop malware memory monitor motherboard music network obp printer problem ram random registry router slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
Solved: Excel Formula

Reply  
Thread Tools
shuazien's Avatar
Computer Specs
Member with 47 posts.
 
Join Date: Sep 2007
Location: Eugene, Oregon
Experience: Always looking for more..
14-Nov-2009, 07:00 PM #1
Solved: Excel Formula
Can anyone tell me what the error is in this formula:

=IF(OR(State="IL",State="illinois"),(=PRODUCT(Subtotal,0.0725),"0")))

State refers to a cell ,g17, that I have named State.
Subtotal refers to a cell, h37, that I have named Subtotal

I am trying to get a sales tax amount that equals the subtotal times .0725, if Il or Illionois are entered in the state cell, if anything else is in the state cell then sales tax should equal 0.

My brain can almost grasp the problem, then I lose it....
__________________
Foxconn A9AD-S & AMD Phenom II x6 1090T
8GB 1333 DDR3 & MSI Radeon 4850 512MB
Primary HD 4x 500GB SATA II in RAID 0 & Backup HD 1x 2TB SATA II
shuazien's Avatar
Computer Specs
Member with 47 posts.
 
Join Date: Sep 2007
Location: Eugene, Oregon
Experience: Always looking for more..
14-Nov-2009, 07:22 PM #2
Aha!!

If I remove the equals sign before "Product", and the parenthesis that surrounded that part it works.

i.e.:

=IF(OR(State="IL",State="illinois"),PRODUCT(Subtotal,0.0725),0)

Silly me....
Reply

Tags
excel, formula, function

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 08:03 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.