Look Up Formula for Range

kumar1803

Board Regular
Joined
Jan 7, 2015
Messages
110
Hello,

I have column where i have some negative values and positive values. I would like to use a LOOKUP formula to put them in a range. My range is as follows.

  • < $0.00
  • $0.00-$499.99
  • $500.00 -$999.99
  • $1000.00-$1499.99
  • Above $1500.00
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
what do you mean put " put them in "
do you want to count them?

can you provide more of an example of how the data looks and how you want the final outcome to look
 
Upvote 0
Please see data below: I need the last column for LOOKUP value in the range i have provided earlier.

Contract DateStock NumberMakeModelYear ModelDeal TypeDays On LotVehicle CategoryTotal Inventory CostSales PriceLender Acquisition FeeSales Gross ProfitProfit ( Front)
11/25/20152855FordExpedition2012F198Regular SUV $ 27,476.97 $ 21,988.00 $ 99.00 $ (5,587.97) $ (5,488.97)
11/11/20152884FordExpedition2011F173Regular SUV $ 24,541.79 $ 20,988.00 $ 95.00 $ (3,648.79) $ (3,553.79)
11/16/20152979RAM15002014F130Regular Truck $ 37,745.25 $ 34,988.00 $ 50.00 $ (2,807.25) $ (2,757.25)
11/7/20152903ToyotaTundra2008F156Leveled truck $ 23,102.55 $ 21,488.00 $ - $ (1,614.55) $ (1,614.55)
11/9/20152986FordF-350 SD2012C122Commercial $ 28,570.99 $ 27,125.00 $ - $ (1,445.99) $ (1,445.99)
11/20/20153025ChevroletTahoe2012F113Regular SUV $ 28,846.29 $ 27,488.00 $ 50.00 $ (1,408.29) $ (1,358.29)
11/13/20152658BFordF-1502014C112Regular Truck $ 36,439.70 $ 35,188.00 $ - $ (1,251.70) $ (1,251.70)
11/16/20152781AFordF-1502011F106Leveled Truck $ 23,990.59 $ 22,988.00 $ - $ (1,002.59) $ (1,002.59)
11/11/20152883JeepWrangler2012F174Lifted SUV $ 28,955.93 $ 27,988.00 $ 95.00 $ (1,062.93) $ (967.93)
11/17/20152970FordF-450 SD2011C137Commercial $ 28,649.69 $ 27,838.00 $ - $ (811.69) $ (811.69)
11/20/20153017ToyotaTundra2012F120Lifted Truck $ 29,739.20 $ 28,988.00 $ 295.00 $ (1,046.20) $ (751.20)
11/5/20153001RAM15002013F112Leveled Truck $ 23,419.95 $ 22,988.00 $ 150.00 $ (581.95) $ (431.95)
11/9/20152953JeepWrangler2015F133Lifted SUV $ 41,553.83 $ 41,988.00 $ - $ (65.83) $ (65.83)
11/5/20153116BLexusRX 3302004C7Regular SUV $ 3,500.00 $ 3,500.00 $ - $ - $ -
11/23/20153039ChevroletSilverado 3500HD2015F109Commercial $ 50,596.04 $ 50,688.00 $ - $ 91.96 $ 91.96
11/14/20153060ChevroletSuburban2012C87Regular SUV $ 32,204.71 $ 32,791.80 $ - $ 587.09 $ 587.09
11/10/20153067ChevroletSilverado 15002015F77Regular Truck $ 45,522.47 $ 45,788.00 $ - $ 765.53 $ 765.53
11/25/20152984ChevroletSilverado 15002012F138Lifted Truck $ 23,660.80 $ 24,488.00 $ - $ 827.20 $ 827.20
11/7/20152920AFordF-1502012F120Regular Truck $ 22,107.99 $ 22,988.00 $ - $ 880.01 $ 880.01
11/12/20153068JeepWrangler2014F79Lifted SUV $ 39,063.92 $ 39,988.00 $ 95.00 $ 829.08 $ 924.08
11/6/20153059JeepWrangler2012F80Lifted SUV $ 29,007.83 $ 29,988.00 $ - $ 980.17 $ 980.17
11/2/20153054ChevroletSilverado 15002014F80Lifted Truck $ 38,755.22 $ 39,988.00 $ 50.00 $ 1,182.78 $ 1,232.78
11/16/20153074RAM25002015F80Lifted Truck $ 50,550.76 $ 51,988.00 $ - $ 1,437.24 $ 1,437.24
11/3/20153018FordF-350 SD2013F103Commercial $ 24,840.22 $ 26,300.00 $ - $ 1,459.78 $ 1,459.78
11/27/20153052ADodgeDurango2011F34Reular SUV $ 17,518.75 $ 18,988.00 $ 495.00 $ 974.25 $ 1,469.25
11/16/20153132ChevroletSilverado 15002014F30Regular Truck $ 36,703.03 $ 38,235.45 $ 199.00 $ 1,333.42 $ 1,532.42
11/10/20152817AJeepWrangler2012F96Lifted SUV $ 29,449.60 $ 30,988.00 $ - $ 1,538.40 $ 1,538.40
11/3/20153049RAM35002014F84Leveling Truck $ 45,313.11 $ 46,988.00 $ - $ 1,674.89 $ 1,674.89
11/16/20153064DodgeRam 25002009F87Leveled Truck $ 23,207.55 $ 24,988.00 $ - $ 1,780.45 $ 1,780.45
11/3/20152966JeepWrangler2014F124Lifted SUV $ 32,188.11 $ 33,988.00 $ - $ 1,799.89 $ 1,799.89

<colgroup><col><col><col><col><col><col><col><col><col><col><col><col span="2"></colgroup><tbody>
</tbody>
 
Upvote 0
you could use a lookup or a nested iF


  • < $0.00
  • $0.00-$499.99
  • $500.00 -$999.99
  • $1000.00-$1499.99
  • Above $1500.00

PUT the list as follows

-1000000 <$0.00
0 $0.00-$499.99
500 $500.00 -$999.99
1000 $1000.00-$1499.99
1500 Above $1500.00

<tbody>
</tbody>


Then use
=VLOOKUP(J2,Sheet2!$A$2:$B$6,2,TRUE)

Assuming the table is in A2:B6 on sheet2

see attcahed
https://www.dropbox.com/s/ym19py4zk1pom01/lookupRange.xlsx?dl=0
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,926
Messages
6,122,306
Members
449,079
Latest member
juggernaut24

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