I attached an example of my sheet.
My vlookup displays it as a 0 if no data is present. For some reason my =IF(B6=0,100%,(100%-(C6/B6))) is getting a #DIV/0! even though it shows as 0 for C6&B6. Could it be because of the vlookup?
Your formulas with vlookup have the 0 in quotes. Remove the quotes and all will be fixed..
e.g.
=IF(ISNA(VLOOKUP(A3,Sheet2!A3:C5,2,FALSE)),0,VLOOKUP(A3,Sheet2!A3:C5,2,FALSE))
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
In your formula below do you see the "0" ?
=IF(ISNA(VLOOKUP(A6;Sheet2!A6:C8;3;FALSE));"0";VLOOKUP(A6;Sheet2!A6:C8;3;FALSE))
remove the quotes (") around it and it will work fine.
Thank you for your help. It solved my issue. Thanks Again!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks