+ Reply to Thread
Results 1 to 5 of 5

"IF" "THEN" formula help

  1. #1
    Registered User
    Join Date
    05-05-2015
    Location
    US
    MS-Off Ver
    office 13
    Posts
    2

    "IF" "THEN" formula help

    cell C4=

    (if C3=C1 then sum = 15 otherwise 0) and or + (if C2=C1 then sum = 15, otherwise 0)

    so if 2 matches then 30, if 1 match then 15, no match = 0

    it is essentially a number matching yes = 15 no = 0 but from multiple cells

    the cell entries are never constant but the formula will be.

    I hope I explained that clearly enough

    Thank You in advance for any help.

    2 examples as if in a row in individual cells: 3 3 5 15(the 15 is because the 3 matched the 3) 3 4 7 0(the 0 because no matches)
    3 3 3 30(the 30 because both 3's matched the 3)

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: "IF" "THEN" formula help

    Can you post a sample workbook with those examples and a hard coded solution so we can see exactly what you are trying to accomplish??
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: "IF" "THEN" formula help

    Try in Cell E1

    =countif(B1:D1,A1)*15

    Where cell A1 to D1 holds your data
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: "IF" "THEN" formula help

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  5. #5
    Registered User
    Join Date
    05-05-2015
    Location
    US
    MS-Off Ver
    office 13
    Posts
    2

    Re: "IF" "THEN" formula help

    Perfect !!!! I tested it

    Thank You !!

    sure looks pretty easy, I should have researched more.

+ 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. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  2. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  3. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  4. Replies: 7
    Last Post: 05-13-2006, 05:02 PM
  5. If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ...
    By Maria J-son in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2006, 08:25 AM

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