How do i add a cell value in a sentence without using 2 cells?

G

Guest

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
 
G

Guest

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
 
G

Guest

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 said:
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 said:
="the days you worked today are(" & $A$6 & ")"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top