There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Tag Cloud
acer backup bios boot bsod computer connection crash dell driver drivers error excel firefox freeze hard disk hard drive hardware hijackthis internet keyboard laptop linksys macro malware network outlook outlook 2003 outlook 2007 password problem realtek recovery redirect server slow sound toshiba trojan usb video virus vista vpn windows windows 7 windows vista windows xp wireless youtube
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
Solved: Excel Formula

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
shuazien's Avatar
Computer Specs
Member with 41 posts.
 
Join Date: Sep 2007
Location: Eugene, Oregon
Experience: Always looking for more..
14-Nov-2009, 05: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 A79A-S, Phenom x3 8450
4GB Patriot 1066 ddr2
Radeon 4850
shuazien's Avatar
Computer Specs
Member with 41 posts.
 
Join Date: Sep 2007
Location: Eugene, Oregon
Experience: Always looking for more..
14-Nov-2009, 05: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....
Closed Thread Bookmark and Share   techguy.org/877350

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.

Smart Search

Find your solution!



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


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 12:46 PM.
Copyright © 1996 - 2010 TechGuy, Inc. All rights reserved.
Powered by Cermak Technologies, Inc.