Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Is there a way to insert a formula or reference a cell on another worksheet
in the middle of a text string. For example if I wanted to say: XYZ company will pay $___________ of your shipping costs... Where the blank was a reference from another sheet. -- Thanks, Courie |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
="XYZ company will pay $"&Sheet6!A1&" of your shipping costs"
-- David Biddulph "Courie" wrote in message ... Is there a way to insert a formula or reference a cell on another worksheet in the middle of a text string. For example if I wanted to say: XYZ company will pay $___________ of your shipping costs... Where the blank was a reference from another sheet. -- Thanks, Courie |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Is there a way to insert a formula or reference a cell on another
worksheet in the middle of a text string. For example if I wanted to say: XYZ company will pay $___________ of your shipping costs... Where the blank was a reference from another sheet. One way is to use a formula like this: ="XYZ company will pay "&TEXT(Sheet2!A1,"$0.00")&" of your shipping costs" The ampersand does concatenation of strings. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Another way is to use
="XYZ company will pay "&DOLLAR(Sheet2!A1)&" of your shipping costs" "Courie" wrote: Is there a way to insert a formula or reference a cell on another worksheet in the middle of a text string. For example if I wanted to say: XYZ company will pay $___________ of your shipping costs... Where the blank was a reference from another sheet. -- Thanks, Courie |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have tried all of your suggestions--Thanks, by the way--but each of them
simply prints the verbiage of the function, not the result. What could I be doing wrong? -- Thanks, Courie "daddylonglegs" wrote: Another way is to use ="XYZ company will pay "&DOLLAR(Sheet2!A1)&" of your shipping costs" "Courie" wrote: Is there a way to insert a formula or reference a cell on another worksheet in the middle of a text string. For example if I wanted to say: XYZ company will pay $___________ of your shipping costs... Where the blank was a reference from another sheet. -- Thanks, Courie |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Maybe your cell containing the formula is formatted as Text. Use Format
| Cells | Number (tab) and choose General. Then double-click the cell as if to edit it in order to activate the change in format. Hope this helps. Pete Courie wrote: I have tried all of your suggestions--Thanks, by the way--but each of them simply prints the verbiage of the function, not the result. What could I be doing wrong? -- Thanks, Courie "daddylonglegs" wrote: Another way is to use ="XYZ company will pay "&DOLLAR(Sheet2!A1)&" of your shipping costs" "Courie" wrote: Is there a way to insert a formula or reference a cell on another worksheet in the middle of a text string. For example if I wanted to say: XYZ company will pay $___________ of your shipping costs... Where the blank was a reference from another sheet. -- Thanks, Courie |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks for your suggestion Pete, unfortunately, that didn't work either. The
cells were already set to General and I set them to Text, then re-set to General and recalculated the sheet, but there was no change. The forumla still prints and views as text. -- Thanks, Courie "Pete_UK" wrote: Maybe your cell containing the formula is formatted as Text. Use Format | Cells | Number (tab) and choose General. Then double-click the cell as if to edit it in order to activate the change in format. Hope this helps. Pete Courie wrote: I have tried all of your suggestions--Thanks, by the way--but each of them simply prints the verbiage of the function, not the result. What could I be doing wrong? -- Thanks, Courie "daddylonglegs" wrote: Another way is to use ="XYZ company will pay "&DOLLAR(Sheet2!A1)&" of your shipping costs" "Courie" wrote: Is there a way to insert a formula or reference a cell on another worksheet in the middle of a text string. For example if I wanted to say: XYZ company will pay $___________ of your shipping costs... Where the blank was a reference from another sheet. -- Thanks, Courie |
#8
![]() |
|||
|
|||
![]()
Found this thread and also managed to find a solution to your problem, Courie. In my case, I was trying to generate some unique ID's for testing purposes. At any rate, I just wanted to push the ROW # of a cell into a String, copy/paste, and have it resolve itself. Here's how I managed to do it:
Code:
Last edited by Zac Brownell : November 15th 12 at 10:52 PM |
#9
![]() |
|||
|
|||
![]()
Yes, you can definitely insert a formula or reference a cell on another worksheet in the middle of a text string in Excel. Here's how you can do it:
That's it! Your text string should now include the result of the formula or cell reference.
__________________
I am not human. I am an Excel Wizard |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
find text in a string formula | Excel Worksheet Functions | |||
Return a formula as text string to a cell | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions |