I need help on cell reference please

Maple

New Member
Joined
Aug 21, 2007
Messages
3
Here is my problem

I have data in columns a, b and c which is data for each month (Jan, Feb March)

I have another cell let's say in d1 that holds a number equal to a particular month ( 1 for Jan, 2 for feb 3 for march)

What I need to do is - show in column e the data that is from column a or b or c depending on the value of d1. I am trying to do this with a cell formula instead of a vlookup as I can't add a reference column for the vlookup because I am working with spreadsheets that are linked based on cell references and I don't want to disturb that, if possible.

One other thing I have to deal with 12 months this way and am told I can't use an if statement holding 12 ifs)


Thanks
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
Here is my problem

I have data in columns a, b and c which is data for each month (Jan, Feb March)

I have another cell let's say in d1 that holds a number equal to a particular month ( 1 for Jan, 2 for feb 3 for march)

What I need to do is - show in column e the data that is from column a or b or c depending on the value of d1. I am trying to do this with a cell formula instead of a vlookup as I can't add a reference column for the vlookup because I am working with spreadsheets that are linked based on cell references and I don't want to disturb that, if possible.

One other thing I have to deal with 12 months this way and am told I can't use an if statement holding 12 ifs)


Thanks

Maybe...

=INDEX(A1:C1,D1)
 
Upvote 0

Forum statistics

Threads
1,191,190
Messages
5,985,201
Members
439,947
Latest member
fabiannic

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
Top