Creating a unique reference if cell data is between a number range

MartKenn08

New Member
Joined
May 30, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi,

Looking for the correct formula to use to generate a unique reference based off the number value shown in a column.

e.g. the number in cell D1 is between 1-2 produce reference R100 in in cell E1, if the number is between the range 3-5 populate the reference R200 etc.

Any help will be greatly appreciated, using excel for MSO 365.

Thanks,
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
try this:

Book1
ABCDEFGH
11.50R100
2
31.00R100
43.00R200
55.00R300
Sheet4
Cell Formulas
RangeFormula
E1E1=XLOOKUP(D1,G3:G5,H3:H5,"not found",-1,1)
 
Upvote 0
Solution

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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