+ Reply to Thread
Results 1 to 8 of 8

Add Data in Different Sheets and Result in Master Sheet based on Cell Values

  1. #1
    Registered User
    Join Date
    11-16-2012
    Location
    adelaide
    MS-Off Ver
    Excel 07/10
    Posts
    56

    Add Data in Different Sheets and Result in Master Sheet based on Cell Values

    Hi Guys,


    So I am trying to get a Master Sheet calculate results if a certain condition is met in the other 30 sheets..

    eg:
    Day 1 Column C4 and D4 are both equal or greater than 1
    Day 2 Column C4 and D4 only C4 is equal to 1 and D4 = 0

    I want Day 31 to show only "1" as a final result using a formula that out of all the day sheets only 1 day the criteria of both columns being 1 was met.

    I have tried the "IF" function but its not working for all the sheets at once and I have to add like:
    =IF('Day1'!C4>0,IF('4'!D4>0,"1","0"))+IF('Day2'!C4>0,IF('5'!D4>0,"1","0"))

    Is there a way to do Day1:Day2 and other days together? I am sure there is...

    Thanks.

  2. #2
    Forum Contributor Legend Rubber's Avatar
    Join Date
    09-21-2012
    Location
    Tillsonburg, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    392

    Re: Add Data in Different Sheets and Result in Master Sheet based on Cell Values

    what about the IF(AND( function?
    Have you tried that?

  3. #3
    Registered User
    Join Date
    11-16-2012
    Location
    adelaide
    MS-Off Ver
    Excel 07/10
    Posts
    56

    Re: Add Data in Different Sheets and Result in Master Sheet based on Cell Values

    Nope...dont know how that works!

  4. #4
    Forum Contributor Legend Rubber's Avatar
    Join Date
    09-21-2012
    Location
    Tillsonburg, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    392

    Re: Add Data in Different Sheets and Result in Master Sheet based on Cell Values

    OK, it may work, can you give me a bit more info as to what you want to do? a sample workbook would be great help...

    P.S. i was in Adelaide in Jan 2011, very beautiful place.

  5. #5
    Registered User
    Join Date
    11-16-2012
    Location
    adelaide
    MS-Off Ver
    Excel 07/10
    Posts
    56

    Re: Add Data in Different Sheets and Result in Master Sheet based on Cell Values

    Hi....Love Adelaide...
    Ironically, I may be visiting Toronto in Dec.

    Sample sheet attached.
    Attached Files Attached Files

  6. #6
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Add Data in Different Sheets and Result in Master Sheet based on Cell Values

    =sumproduct(countifs(indirect("'"&row(indirect("4:6"))&"'!c4"),">0",indirect("'"&row(indirect("4:6"))&"'!d4"),">0"))

  7. #7
    Registered User
    Join Date
    11-16-2012
    Location
    adelaide
    MS-Off Ver
    Excel 07/10
    Posts
    56

    Re: Add Data in Different Sheets and Result in Master Sheet based on Cell Values

    Thank u so much...Works Great!

  8. #8
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Add Data in Different Sheets and Result in Master Sheet based on Cell Values

    You're Welcome!

+ 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