Little tricky question

Nikky78

New Member
Joined
Sep 10, 2010
Messages
3
Hi. I love your vid :) Glad to found it.

Ok, here it goes. I have little trickier question, that we didn't found an answer.

Here it goes: If I have to put in one cell formula like that... if the value of the cell is from 0 up to 100, than is 1, if the value of the cell is from 100 to 200, then is 2, if the value is from 300 to 400 is 4... like never ending value. In cell it just be seen nubmers 1 or 2 or 3 or 4... I hope that I wrote good enough to understand. If you need more data, please ask. It's Excel 2003. :)
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Maybe this will help:

Data, notes and formulas (formulas in green):
Excel Workbook
ABCDEFGH
151These are the categories for how the VLOOKUP works
21252010<= value< 100
321531002100<= value< 200
42212003200<= value< 300
5013004value > 300
69004
7-1#N/A<< == Values less than the first value in the column 1 of the lookup table will get an #N/A
...




Formula in B1, and copy down:
Excel Workbook
B
11
...
Cell Formulas
RangeFormula
B1=VLOOKUP(A1,$D$2:$E$5,2)
 
Upvote 0
Opps. The categories are like this (I left out an equal sign on the last category):<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
Excel Workbook
DEF
1These are the categories for how the VLOOKUP works
2010<= value< 100
31002100<= value< 200
42003200<= value< 300
53004value >= 300
...
 
Upvote 0

Forum statistics

Threads
1,215,232
Messages
6,123,765
Members
449,121
Latest member
Vamshi 8143

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