Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jared
 
Posts: n/a
Default How do i add a cell value in a sentence without using 2 cells?

If i want to write a sentence but with a cell value inside, how do i input it
so the value of the cell is shown and not the reference?

example: the days you worked today are ($A$6)

i need it to be in one cell and not two seperate cells
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JE McGimpsey
 
Posts: n/a
Default How do i add a cell value in a sentence without using 2 cells?

One way:

="the days you worked today are " & $A$6

In article ,
Jared wrote:

If i want to write a sentence but with a cell value inside, how do i input it
so the value of the cell is shown and not the reference?

example: the days you worked today are ($A$6)

i need it to be in one cell and not two seperate cells

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary''s Student
 
Posts: n/a
Default How do i add a cell value in a sentence without using 2 cells?

="the days you worked today are(" & $A$6 & ")"

--
Gary's Student


"Jared" wrote:

If i want to write a sentence but with a cell value inside, how do i input it
so the value of the cell is shown and not the reference?

example: the days you worked today are ($A$6)

i need it to be in one cell and not two seperate cells

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jared
 
Posts: n/a
Default How do i add a cell value in a sentence without using 2 cells?

Great,
Now how do i do the same but in a formula?

entering a cell value in a formula?

='C:\Documents and Settings\Owner\Desktop\[April.xls]Month'!H7

but instead of "april.xls" i want to put $B$2

"Gary''s Student" wrote:

="the days you worked today are(" & $A$6 & ")"

--
Gary's Student


"Jared" wrote:

If i want to write a sentence but with a cell value inside, how do i input it
so the value of the cell is shown and not the reference?

example: the days you worked today are ($A$6)

i need it to be in one cell and not two seperate cells

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary''s Student
 
Posts: n/a
Default How do i add a cell value in a sentence without using 2 cells?

Whenever you want to construct a reference by splicing together bits of
strings use INDIRECT():

=INDIRECT("[" & $B$2 & "]Month!H7")
assuming that B2 contains the text April.xls

REMEMBER: This will not work if the target workbook is not open.


--
Gary's Student


"Jared" wrote:

Great,
Now how do i do the same but in a formula?

entering a cell value in a formula?

='C:\Documents and Settings\Owner\Desktop\[April.xls]Month'!H7

but instead of "april.xls" i want to put $B$2

"Gary''s Student" wrote:

="the days you worked today are(" & $A$6 & ")"

--
Gary's Student


"Jared" wrote:

If i want to write a sentence but with a cell value inside, how do i input it
so the value of the cell is shown and not the reference?

example: the days you worked today are ($A$6)

i need it to be in one cell and not two seperate cells

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Value of one cell a certain number of cells away from another cell Box815 Excel Discussion (Misc queries) 1 March 13th 06 02:52 PM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
How to copy single cell into cell that is merged from two cells? Rod Excel Discussion (Misc queries) 3 January 22nd 06 09:24 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM


All times are GMT +1. The time now is 04:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"