+ Reply to Thread
Results 1 to 6 of 6

Combining 2 formulas - having trouble - please assist!

  1. #1
    Registered User
    Join Date
    08-01-2018
    Location
    Mount Vernon, WA
    MS-Off Ver
    365
    Posts
    24

    Combining 2 formulas - having trouble - please assist!

    Two columns of data - first formula looks for target month...which is in this case is July:
    =SUMPRODUCT(--(D2:D10<>""),--(MONTH(D2:D10)=7))

    Second formula looks for a keyword. I have to report when I post clients to new adult family homes to my supervisor. Second formula:

    =COUNTIF(G2:G5,"for*")

    the "for" would be like "kitsap family home" etc. I used "for" to simplify.

    If I had 20 dates in July, but only 5 "for" during the month, that is what I would like. I'm feeling like this might be a nested formula answer?
    Thank you!

  2. #2
    Registered User
    Join Date
    06-28-2018
    Location
    USA
    MS-Off Ver
    2010
    Posts
    19

    Re: Combining 2 formulas - having trouble - please assist!

    I think I know what you are getting at and if you can post an example I'll be glad to try and help.

    ~LearningByError

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Combining 2 formulas - having trouble - please assist!

    Hello and welcome to the forum.

    Maybe something like this:

    =COUNTIFS(D:D,">="&DATE(2018,7,1),D:D,"<"&DATE(2018,8,1),G:G,"for*")

  4. #4
    Registered User
    Join Date
    08-01-2018
    Location
    Mount Vernon, WA
    MS-Off Ver
    365
    Posts
    24

    Re: Combining 2 formulas - having trouble - please assist!

    LearningByError - sorry I didn't get back to you sooner - had to work outa town!

    63falcondude - thank you, EXACTLY what I needed!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Combining 2 formulas - having trouble - please assist!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Registered User
    Join Date
    08-01-2018
    Location
    Mount Vernon, WA
    MS-Off Ver
    365
    Posts
    24

    Re: Combining 2 formulas - having trouble - please assist!

    Thank you, was perfect!

+ 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. Formulas to assist in Liquor varinace report
    By brendanyule in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-02-2017, 01:13 AM
  2. [SOLVED] Trouble with combining MID and VLOOKUP
    By DG328 in forum Excel General
    Replies: 5
    Last Post: 06-14-2016, 11:22 AM
  3. Please assist with IF Formulas
    By dmejia174 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-30-2015, 04:16 PM
  4. [SOLVED] Trouble combining two formulas into one
    By mr63249 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-06-2013, 08:53 AM
  5. Having trouble combining AND and IF
    By hammerb in forum Excel General
    Replies: 2
    Last Post: 10-05-2011, 10:24 AM
  6. Trouble Combining Functions
    By jturenne in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-06-2009, 01:35 PM
  7. [SOLVED] Having trouble combining 4 cells with formulas into one cell formu
    By jimtmcdaniels in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-18-2005, 09:00 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