IF And Statement not wokring

Star1566

New Member
Joined
May 19, 2017
Messages
15
Hello I am having an issue with my formulas in excel. I have created conditions based on what is entered into column J, if these conditions are not met then the cells should display N/A. Right now they (cells J26 and J27) are displaying the actual value even when there is a blank. The formulas are in column K cells 26 and 27.

I have attached the file link for reference, thanks in advance for your help!

https://drive.google.com/open?id=1YUEoeP9CzNQa3X5Hdjeq3ZqW9ynxSJZY
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Try
=IF(J26="","",IF(J26<15,"A",IF(J26<31,"B",IF(J26<46,"C",IF(J26<60,"D","F")))))
 
Upvote 0
Hi,

As Fluff has shown, you don't need all the ANDs, here's another way:

=IF(J26<>"",IF(J26>=60,"F",IF(J26>=46,"D",IF(J26>=31,"C",IF(J26>=15,"B","A")))),"N/A")
 
Upvote 0
Glad we could help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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