+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : changing a sheet reference in formula more than one time

  1. #1
    Registered User
    Join Date
    03-15-2011
    Location
    cluj napoca
    MS-Off Ver
    Excel 2007
    Posts
    50

    changing a sheet reference in formula more than one time

    Hello,
    How can i change a sheet reference in a formula not manually?
    Example

    =IF(Nr.Bare.L!D4="-","-",SUMIFS(Tot.L!$D:$D,Tot.L!$A:$A,Nr.Bare.L!D4,Tot.L!$B:$B,Nr.Bare.L!$D$2))
    The marked sheetreference i would like to change to slen!
    I have at least 50 cells where i would have to change the formula.
    Thanks
    Last edited by meslija; 04-19-2011 at 01:49 PM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: changing a sheet reference in formula more than one time

    Hi meslija,

    Look at the attached to see if it helps.
    I've created a string in A2 from a dropdown in A1 that then does an Indirect to show what I think you want. There are most likely many other ways.

    Look at sheet 3 and follow the logic.
    Attached Files Attached Files
    Last edited by MarvinP; 04-19-2011 at 06:30 PM.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    03-15-2011
    Location
    cluj napoca
    MS-Off Ver
    Excel 2007
    Posts
    50

    Re: changing a sheet reference in formula more than one time

    thanks,
    in the future i will use this.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1