+ Reply to Thread
Results 1 to 2 of 2

Excel 2010 Mulitple Criteria IF AND formula ref. months and hour

  1. #1
    Registered User
    Join Date
    06-22-2012
    Location
    New Brunswick, NJ
    MS-Off Ver
    Excel 2003
    Posts
    53

    Excel 2010 Mulitple Criteria IF AND formula ref. months and hour

    I attached a sample spreadsheet for clarity purposes below. I want a formula to put in columns T- AC, that can look up what month it is and if it is a "1st" or "2nd" scenario, then perform a calculation depending on that criteria. The problem I am having is that I am not sure how to alter the formula so it will differentiate month to month. I included 2 July days and one August day for example purposes.

    I want the formula for example in cell T6 to say:

    IF the date cell (S5) is (for ex. July) AND the value in H6 is 0, THEN cell (T6) = 0. If not then compute ("Forecasted, System 1, July, 1st Scenario") Value - ("Actual, System 1, July, 1st Scenario" Value).

    May sound complicated without seeing the table but the formula in there for the calculations is easy to follow, there are 5 reference tables in the Forecasted Data on the left, then the Actual Data For Each Day and Hour is in the middle columns, and the difference between them is computed in the right columns.

    (Yes, in the forecasted columns "2nd" is listed before "1st" but thats how my data comes in so those columns are correct.

    I think this should be a simple IF AND formula I jusat have had no success adjusting it so it can pull down and fillwhen the new months data comes in.

    Thank you in advance for any help you can give me I really appreciate it!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    08-05-2013
    Location
    USA
    MS-Off Ver
    2010
    Posts
    76

    Re: Excel 2010 Mulitple Criteria IF AND formula ref. months and hour

    Try this in T6: =IF(H6=0,0,INDEX($B$5:$C$16,MONTH(MAX($S$5:$S6)),MATCH(T$4,$B$4:$C$4,0))-H6)
    You'll need to change the reference $B$5:$C$16 to $B$20:$C$31 for System 2, and so on for System 3, 4, 5, etc.

  3. #3
    Registered User
    Join Date
    06-22-2012
    Location
    New Brunswick, NJ
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Excel 2010 Mulitple Criteria IF AND formula ref. months and hour

    Jeff,

    Formula worked great this is a major help. thank you very much for taking the time to help me with this issue.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Excel 2010 - Extracting hour value from HH:MM:SS time - formatting issue
    By asimbig in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-04-2013, 06:47 AM
  2. Countifs Formula with Mulitple Criteria subtract or omit data
    By 1609emily in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-18-2013, 08:34 AM
  3. [SOLVED] Excel 2010: make a list of specific months workdays
    By M0seS in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-16-2012, 05:33 AM
  4. sumifs with mulitple columns and mulitple criteria in each column
    By bkaufman in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 07-18-2012, 05:11 PM
  5. COUNT/SUM Formula For Mulitple Criteria
    By ngor3431 in forum Excel General
    Replies: 1
    Last Post: 05-20-2012, 10:24 PM

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