if statement that calculates between pecentages

erbbbb

New Member
Joined
Oct 22, 2008
Messages
10
=IF((AND(H19>=0.01,H19<=0.03)),".09")
=IF((AND(H19>=3.01,H19<=0.06)),".08")
=IF((AND(H19>=6.01,H19<=0.09)),".07")

what i was trying to accomplish is if the number in a cell falls between .01 and 3 % make the cell multiply by 9%

if cell is between 3.01 percent and 6% multiply by 8%

i believe between these % is my problem

and so on can anyone please help

thank you very much!
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
I think it's just wrongly positioned decimal points:

=IF((AND(H19>=0.01,H19<=0.03)),".09")
=IF((AND(H19>=0.031,H19<=0.06)),".08")
=IF((AND(H19>=0.061,H19<=0.09)),".07")
 
Upvote 0
=IF((AND(H19>=3.01,H19<=0.06)),".08") << 3.01 don't you mean .031
=IF((AND(H19>=6.01,H19<=0.09)),".07") << 6.01 dont you mean .061

Also remove quotes from your last parameter ".09", ".08", ".07"
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,256
Members
448,558
Latest member
aivin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top