#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tony
 
Posts: n/a
Default Cell Formula

I got few worksheets in a workbook. Each worksheet has it name. I try to
write a formula to extra the worksheet name into a cell. The formula is "
=RIGHT(CELL("filename"),4) " . It works, however, if I change worksheet from
one to another one. This formula doesn't change (calculate) itself. I have
to re-calcuate by press "F9", sometime I forgot to re-calculate before I
prite out the report. It got the wrong worksheet name. Can anyone help me
to improve my formula and make it works automatically. Thank you very much.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Marijus
 
Posts: n/a
Default Cell Formula

Hello i think you disabled auto calculation.
So you have to enable it doing this
TOOLS | OPTIONS | CALCULATION and select AUTOMATIC.
But be careful if your sheets contain huge formulas.

--
M.A.
"Tony" wrote in message ...

I got few worksheets in a workbook. Each worksheet has it name. I try to
write a formula to extra the worksheet name into a cell. The formula is "
=RIGHT(CELL("filename"),4) " . It works, however, if I change worksheet from
one to another one. This formula doesn't change (calculate) itself. I have
to re-calcuate by press "F9", sometime I forgot to re-calculate before I
prite out the report. It got the wrong worksheet name. Can anyone help me
to improve my formula and make it works automatically. Thank you very much.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
chillihawk
 
Posts: n/a
Default Cell Formula

If you add the second argument to the CELL function you should achieve
your aim. For example: enter the formula in cell A1 of each sheet like
this =RIGHT(CELL("filename", A1),4).

If you don't enter the second argument you will only get information
for the last cell that was changed, not for the specific cell you are
interested in.

HTH

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
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
How do I set a cell value based on a formula in another cell? dingy101 Excel Discussion (Misc queries) 1 November 21st 05 08:51 AM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
looking for a formula Amanda Excel Worksheet Functions 5 January 5th 05 07:37 AM


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

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

About Us

"It's about Microsoft Excel"