+ Reply to Thread
Results 1 to 5 of 5

IF OR and MONTH Formula Combined!?!

  1. #1
    Registered User
    Join Date
    05-28-2010
    Location
    London
    MS-Off Ver
    MS365 (PC) Version 2301
    Posts
    92

    IF OR and MONTH Formula Combined!?!

    hi

    Is it possible to combine the IF, OR and MONTH formula?

    I need to get the total result of multiple cells where the month in todays date matches that in the referred cells

    This is what I want to say and which is logical to me but I can't transfer it to excel :

    =IF the MONTH in todays date is the same as the month in Cell1 then add up these cells OR IF the MONTH in todays date is the same as the month in Cell2 then add up different cells..etc etc

    I've attached a sheet to explain this better with a text box and comments

    Forum Help If month.xlsx

    Thanks for your help as usual - 100% success rate to date! Always so impressed!

    Paul

  2. #2
    Forum Contributor dogberry's Avatar
    Join Date
    07-15-2012
    Location
    Wales, UK
    MS-Off Ver
    Excel 2010
    Posts
    624

    Re: IF OR and MONTH Formula Combined!?!

    Hi

    Have a look at the link and see if it points you in the right direction

    http://answers.yahoo.com/question/in...7120925AAuZzPL

    Hope it helps

    Chris
    Click my star if I helped Thanks

  3. #3
    Registered User
    Join Date
    05-28-2010
    Location
    London
    MS-Off Ver
    MS365 (PC) Version 2301
    Posts
    92

    Re: IF OR and MONTH Formula Combined!?!

    Quote Originally Posted by dogberry View Post
    Hi

    Have a look at the link and see if it points you in the right direction

    http://answers.yahoo.com/question/in...7120925AAuZzPL

    Hope it helps

    Chris
    I tried that before posting Chris - I couldn't work out how to create the formula - I was trying to use
    (cell references here are just examples and don't relate to my original attachement)

    =IF(OR(Month(A1)=(Month($T$1),SUM(A16,D16,F16),(MONTH(B1)=(Month($T$1),SUM(D16,F16,G16) etc etc

    or perhaps I just don't need the OR element?!

  4. #4
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: IF OR and MONTH Formula Combined!?!

    Hi Wilgoss

    Going by your attached file, try:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    05-28-2010
    Location
    London
    MS-Off Ver
    MS365 (PC) Version 2301
    Posts
    92

    Re: IF OR and MONTH Formula Combined!?!

    Thanks very much

    I didn't need the "OR" element after all

    Solved again! Cheers

+ 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