If ?

mbritt

New Member
Joined
Aug 25, 2011
Messages
11
I am working on creating a formula to quantify if x>=100%, then the total points (deposited in the cell) will be "10" .... however, if x<100% then it will pull from a separate vlook up table (i.e. 99%=9, 98%=8, etc) .....

The formula I am currently using looks like:
=IF(G5>=100%,10,(IF(G5<=100%,(VLOOKUP(G5,Sheet1!$A$1:$B$100,2,TRUE)))))

... all is well if we score 100% ... but it seems the second phase is only seeing "0" as the value because it is putting in the value for the 0% cell.

Any suggestion?:confused:
 

Some videos you may like

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
I think the second IF is redundant. Try

=IF(G5>=100%,10,VLOOKUP(G5,Sheet1!$A$1:$B$100,2,TRUE))
 

mbritt

New Member
Joined
Aug 25, 2011
Messages
11
Peter,
Thanks for the speedy reply, however your formula does the same thing, it reads the quantity as "0" and puts in the value as such.

Second thoughts? I have tried devaluing the numbers from % to decimal - it still reads the "0" in the vlookup.

Thanks,
Michele
 

Watch MrExcel Video

Forum statistics

Threads
1,123,494
Messages
5,602,004
Members
414,490
Latest member
Rip181

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
Top