Vlookup giving a 0 for a blank cell, should I use an IF statment?

Seghesio608

New Member
Joined
Nov 25, 2013
Messages
2
Hello,
I want cells that are
>=6 to be have a "P" instead in a different worksheet
3-5 to have a "F" instead in a different worksheet
<=2 to have a "G" instead in a different worksheet

But in my worksheet I have 0 and blank cells. I need the 0 to say "G" and the blanks to remain blank. I have looked online and saw the responses and tried using an IF statement too, but I could not get it to work.

=VLOOKUP('Total Scores'!M10,Sheet3!$A$1:$B$24,2,FALSE)


With IF statement:
=IF(VLOOKUP('Total Scores'!C7,Sheet3!$A$1:$B$24,2,FALSE)=0,"",VLOOKUP('Total Scores'!C7,Sheet3!$A$1:$B$24,2,FALSE)) (Did not work)


I also tried using nested IF statements, so I could avoid Vlookup and could not get that to work either, but if someone knows/thinks that would work better, I would prefer that

Thank you so much!
Erin
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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