+ Reply to Thread
Results 1 to 4 of 4

If Then Formula

  1. #1
    Registered User
    Join Date
    04-25-2013
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2007
    Posts
    2

    If Then Formula

    I have a spreadsheet that I need to figure out the formula as follows:

    If e4:e69 has a text such as "Referral" and on that same row F4:F69 has "yes" i need it to add a value of one to C75, not sure if this makes sense but kind of confused. Not sure if I have given enough information but if someone could give me some help on the If Then formula that would be great.

    Thanks for your help!

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: If Then Formula

    Try the countifs function in C75

    =COUNTIFS(E4:E69,"Referral",F4:F69,"Yes")

  3. #3
    Registered User
    Join Date
    04-25-2013
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: If Then Formula

    Thanks Jonmo1, that worked great!

    I got one more for you then, with that calculation if I have a "Yes" in F4:F69 then there is a sales value placed in G4:G69. What formula would I use to add that sales amount to E75?

    Thanks again!

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: If Then Formula

    That's SUMIF

    =SUMIF(F4:F69,"Yes",G4:G69)

+ 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