IF Percentage

dgavin

Active Member
Joined
Feb 16, 2005
Messages
302
How do I write the following in a formula ?

In D19

If D18 = "A" and C18 + C19 is less than 92% then "A" if not then blank.

C18 and C19 are percentages by the way.

Thanks
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
How do I write the following in a formula ?

In D19

If D18 = "A" and C18 + C19 is less than 92% then "A" if not then blank.

C18 and C19 are percentages by the way.

Thanks


Try

Code:
=IF(AND(D18="A",(C18+C19)<0.92),"A","")

:)
 
Upvote 0
HI the formula works great for one cell but when I copy it down the column is dosent work.

For instance I tried changing it to this

=IF(AND(D24="A",C18:C25<0.92),"A","")

but it still didn't work, but when tried this

=IF(AND(D25="A",C18+C19+C20+C21+C22+C23+C24+C25<0.92),"A","")

it worked. Its not ideal is there a simpler solution instead of choosing individual cells ?
 
Upvote 0

Forum statistics

Threads
1,224,503
Messages
6,179,136
Members
452,890
Latest member
Nikhil Ramesh

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