An IF function returning both text and a cell value help

robvasey

New Member
Joined
Sep 25, 2006
Messages
2
I am trying to find a way for an IF function to return both text and the characters from a field. What I have now, and what I am looking to get are this.

Say A1=Text 2, or a number or something and I have
=IF(........, "Text 1...<A1>",.....)

I need the A1 in the IF to actually show the value of what is in box A1, not physically the spelling A1. What I would be looking for would be "Text 1 Text 2", as what Excel returns on a true statement.

The hard part is I can only find out how to either return text, or return the cell value. I don't need what is in A1 to actually be computed as anything, but it is just the end solution to be displayed.

Thanks for the help in advance.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,958
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Hi, welcome to the board!

Are you looking for something like this:

="Text1" &A1
 

robvasey

New Member
Joined
Sep 25, 2006
Messages
2
Yeah, that does it. I figured there must be a way to do it, I just wasn't sure the format. Thanks so much for the help I really appreciate it.
 

Forum statistics

Threads
1,171,062
Messages
5,873,555
Members
432,983
Latest member
sam97

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