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:
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
I think the second IF is redundant. Try

=IF(G5>=100%,10,VLOOKUP(G5,Sheet1!$A$1:$B$100,2,TRUE))
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,214,656
Messages
6,120,762
Members
448,991
Latest member
Hanakoro

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