Excel: Nested If with blank..

Xlacs

Board Regular
Joined
Mar 31, 2021
Messages
105
Office Version
  1. 2016
Platform
  1. Windows
Hello Good People,

Just wanted to seek assistance regarding the below formula.

Whenever the cell J2 is blank it returns a Value of 1.
What I wanted to, is whenever J2 is blank, it will return the value as Blank..

Hoping someone could help me on this =(

=IF(J2<2.51,"1", IF(J2<3,"2",IF(J2<3.51,"3")))
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
How about:
=IF(J2="","",IF(J2<2.51,"1",IF(J2<3,"2",IF(J2<3.51,"3"))))
 
Upvote 0
Solution
In addition to what @johnnyL posted, what do you want the formula to return if J2 is greater than or equal to 3.51?
 
Upvote 0
How about:
=IF(J2="","",IF(J2<2.51,"1",IF(J2<3,"2",IF(J2<3.51,"3"))))

Wow, simple as that.. Thank you..

Now all the cells returned blank if J2 is blank..

Just a quick follow up question.

=sum(P2:R2)
=N2*45%

If they are also blank, it returns #value.

How do return it if blank? =/
 
Upvote 0
please ignore.. I figured it out. THank you Guys
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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