Bringing in different groups of numbers dependant on the value in another cell..

jimbob007

New Member
Joined
May 28, 2014
Messages
2
Hi,

I am trying to tell a spreadsheet to bring in a different group of values dependant on what is written in another cell. Essentially, I am trying to tell the spreadsheet to do the following: if A1="hellohello", bring in one group of numbers, if A1="goodbyegoodbye" bring in another group of numbers, if A1= "Welcomewelcome", bring in another group of numbers and so on.

I have tried using a series of IF statements, but they just seem to bring back the number at the top of each range rather than the whole range. I want the applicable range of values to be displayed in a drop down box in my desired cell, not just one single number.

Is using an IF statement appropriate?
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
They are a fixed set of numbers for each one. So, for the first A1 value, the group of numbers are 0,1,2,3, for the next A1 value, the group of numbers are 4,5,6,7 and so on.
 
Upvote 0

Forum statistics

Threads
1,215,045
Messages
6,122,836
Members
449,096
Latest member
Erald

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