Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Jan 2002
    Location
    Trenton, Ontario
    Posts
    175
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Referencing Sheets (2000)

    I have a workbook where the sheets are named "July 14", "July 15" etc. and it keeps track of shipments due to go out that day. Below is a formula that will give me the total of a particular product going out July 15.

    {=SUM(IF('July 15'!$L$2:$L$58="FGABC1.5FCBX",'July 15'!$M$2:$M$58,0))}

    What I want to do is have the user type in the day they want in Sheet1 A1 (they would type 'July 17 with the single quotation mark making it text). How would I change the formula to get the Sheet name from A1 so the formula would be something like:

    {=SUM(IF(A1!$L$2:$L$58="FGABC1.5FCBX",A1!$M$2:$M$5 8,0))}

    Thanks

  2. #2
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: Referencing Sheets (2000)

    Hi,
    You could use:
    <pre>=SUM(IF(INDIRECT("'"&A1&"'!$L$2:$L$58")="FGAB C1.5FCBX",INDIRECT("'"&A1&"'!$M$2:$M$58"),0))</pre>

    array-entered.
    Note: I typed that in here manually so I hope I got all the right parentheses and quotation marks in there! <img src=/S/grin.gif border=0 alt=grin width=15 height=15>
    Hope that helps.
    Regards,
    Rory

    Microsoft MVP - Excel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •