Formula to remove Text portion of Concatenation

decafdave

New Member
Joined
Jun 24, 2009
Messages
19
Hey,

Let's say A1=5
B1=Days
In C1 I have =A1&" B1"

However, I want to reference cell C1 in another formula without errors. I don't think I can use Left formula or any other that I'm aware of since cell A1 and B1 can both differ greatly in length.

Thanks!

I'm using 2010.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
In a spare column

=LEFT(C1,LEN(A1))+0

But why not just use A1 in your formulas?
 
Upvote 0
Hey,

Let's say A1=5
B1=Days
In C1 I have =A1&" B1"

However, I want to reference cell C1 in another formula without errors. I don't think I can use Left formula or any other that I'm aware of since cell A1 and B1 can both differ greatly in length.

Thanks!

I'm using 2010.
It's not real clear what you want to do.

Your formula will work better like this:

=A1&" "&B1
 
Upvote 0
It's not real clear what you want to do.

Your formula will work better like this:

=A1&" "&B1

T Valko,

I actually have that in my real formula-I should have looked at it more closely before my question.

Here is my actual C1:
=LARGE(F17:F25016,1)&" "&B16

B16 is time unit input.

voG,

Thanks for information on the =LEN formula I believe it will solve my problem.
Of course, for what I'm currently doing, I could just skip all this and use the Large formula but I really wanted to solve how to take apart a concatenation. It could prove useful in the future.
 
Upvote 0
T Valko,

I actually have that in my real formula-I should have looked at it more closely before my question.

Here is my actual C1:
=LARGE(F17:F25016,1)&" "&B16

B16 is time unit input.

voG,

Thanks for information on the =LEN formula I believe it will solve my problem.
Of course, for what I'm currently doing, I could just skip all this and use the Large formula but I really wanted to solve how to take apart a concatenation. It could prove useful in the future.
Ok...

Here's another one...

=SUBSTITUTE(C1," "&B16,"")
 
Upvote 0

Forum statistics

Threads
1,224,507
Messages
6,179,183
Members
452,893
Latest member
denay

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