#1   Report Post  
Posted to microsoft.public.excel.misc
JHarriman
 
Posts: n/a
Default INDIRECT Problem


I am wanting to use the INDIRECT function in my cell formula and have
ran into a problem. A sheet name of Jan 06, Feb 06 etc. will not work.
I have put Feb 06 in location O1. This formula,
=SUM(INDIRECT(O1&"!44:44")), will not work with Feb 06. But it will
work with just a month name like Feb. I would like to keep my separate
sheet names of month and year.

Thanks for any Help.
Joe


--
JHarriman
------------------------------------------------------------------------
JHarriman's Profile: http://www.excelforum.com/member.php...o&userid=31739
View this thread: http://www.excelforum.com/showthread...hreadid=514909

  #2   Report Post  
Posted to microsoft.public.excel.misc
vezerid
 
Posts: n/a
Default INDIRECT Problem

Joe

Your formula is missing the single quotes needed when the sheet name
contains spaces.

=SUM(INDIRECT("'"&O1&"'!44:44"))

Notice the single quote inside double quotes prepended and the single
quote inserted before the exclamatino mark.

HTH
Kostis Vezerides

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 Help Required on Excel Macro Problem Sachin Shah Excel Discussion (Misc queries) 1 August 17th 05 06:26 AM
Problem With Reference Update Egon Excel Worksheet Functions 17 July 16th 05 05:45 AM
problem with Array Formula OrdOff Excel Worksheet Functions 2 June 30th 05 04:57 PM
Copy an Drag cell Formula Problem Nat Excel Discussion (Misc queries) 1 June 20th 05 03:24 PM
problem office assistant R.VENKATARAMAN Excel Discussion (Misc queries) 0 June 15th 05 06:22 AM


All times are GMT +1. The time now is 05:20 PM.

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"