Concatenate - Can it pick up a cell reference from a formula?

mbetsy

New Member
Joined
Aug 3, 2015
Messages
13
My formula is =concatenate(A15,B15,C15) which I enter directly by typing "A15" "B15" etc.
I would like to create a concatenate that picks up the row number from another cell. Is this possible?

This is clumsy but it is the only way I can conjure how to explain:

Desired =concatenate(A(go get the value from cell A1)),B(go get the value from cell B1))
Cell A1 = value is a whole number, say 23
Cell B2 = value is a whole number, say 35

Apologies for the lack of pro language, I struggled with how to explain.

Tks.
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Use the INDIRECT formula when building cell references dynamically, like this:
Code:
=CONCATENATE(INDIRECT("A" & A1),INDIRECT("B" & B1),INDIRECT("C" & C1))
 
Upvote 0
Hi Joe4 and thank you. That sure does work perfectly.

I understand formulas better when I can use common language in my head to recite to myself as I enter the technical terms of the formula. For example when I enter concatenate, I use the sentence "Combine A1 then B1 then C1". How would I recall this formula as the "indirect" needs a common translation in my head.

Tks.



/mbetsy
 
Upvote 0
Build the cell reference you want by formula, then wrap it in an INDIRECT function in order to tell Excel that it is a cell reference, and not a string.
See if this helps explain it in more detail: http://www.contextures.com/xlFunctions05.html
 
Upvote 0

Forum statistics

Threads
1,215,471
Messages
6,125,002
Members
449,202
Latest member
Pertotal

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