concatenating Row and Col info in a formula

SamS

Well-known Member
Joined
Feb 17, 2002
Messages
542
Probably too simple but I am stuck. I have a combo box that returns the necessary value eg 4. Now by a strange quirk I have found that if I mutipy my answer by 4 and add 20 it will always give me a reference to the correct row of cells which I would like to graph, my dilema is how do I concatenate a Column heading with the result to return a cell address in a formula. ="C" & A1 returns me C24 but if I try to use this it returns a #VALUE!
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Use INDIRECT to return the value of a cell which is referenced by a string:
Code:
=INDIRECT("C"&A1)
This will return the value of cell C24 (if A1 = 24)
 
Upvote 0
Vog II and Lewiy, thanks for your responses, I did try Indirect but it gave me 39246 as the answer which is definately not anywhere on my spreadsheet
 
Upvote 0
Had a nasty thought that 39264 was a date, tried reformatting the cell as a number but still the same issue. Put data into completely new spread sheet and used the formula and it worked.

tnanks
 
Upvote 0
Thanks for the info Lewiy also makes sense, seems unless I can resolve the formatting issue (started new topic) I may just have to copy data into new spreadsheet. Cells that have been formatted as comments, dates etc will not reformat.
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,038
Members
448,940
Latest member
mdusw

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