Indirect to combine three cells' values

errtu

Board Regular
Joined
Sep 23, 2010
Messages
134
trying to combine three cells with indirect.

One of them has Text (a19), the other two have numbers (b2) and (a20)
 

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
What is the formula that fails?

ok I put all the data into a column like you suggested. So:

b2's value goes to a21 with
Code:
=indirect("b2")
a19 and a20 are already there so nothing.

then

Code:
=concatenate(indirect(a19),indirect(a20),indirect(a21))
 
Upvote 0
Unclear. Which cells are addressed indirectly and which directly?

P.S. You should be able to figure this out for yourself.
 
Upvote 0
What do you have in A19, A20, and B2 exactly and what is the outcome you want to obtain?

A--------------------B-------------------------C
--------------------12648------------------------
LGR-----------------------------------------------
1--------------------------------------------------
--------------------------------------------------
LGR126481--------------------------------------


I have those 3 cells. I want to combine them to get LGR126481.
 
Upvote 0
A--------------------B-------------------------C
--------------------12648------------------------
LGR-----------------------------------------------
1--------------------------------------------------
--------------------------------------------------
LGR126481--------------------------------------


I have those 3 cells. I want to combine them to get LGR126481.
I'm confused... why are you talking about the INDIRECT function when the cells you want to reference contain the values you want to work with. Doesn't this do what you want (or am I missing something)?

=A19&B2&A20
 
Upvote 0
I want to use indirect cause the values in those cells changes constantly. I've used direct referencing with changing cell's values and I've had problems. I've fixed them using indirect. That's why I wanted to use it here.

I'll use =A19&B2&A20 like you suggest and hope for the best :)

thank you and sorry for not being clear
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,808
Members
452,944
Latest member
2558216095

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