+ Reply to Thread
Results 1 to 2 of 2

SumIf for nonconcurrent cells?

Hybrid View

  1. #1
    Registered User
    Join Date
    07-08-2019
    Location
    Denver, CO
    MS-Off Ver
    Office365
    Posts
    1

    SumIf for nonconcurrent cells?

    I am looking for a formula similar to sumif that can add values based on a previous cell's value being yes. I'm working on an order form where there are multiple columns and you can select yes for all options you are interested in. I want a formula to then calculate the total price by adding the price listed to next to each cell with a yes in it. Is this possible?

    Example:

    Person Bananas $ Apples Carrots Spinach
    ABC Yes $2.50 Yes $1 Total would be $3.50

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: SumIf for nonconcurrent cells?

    Welcome to the forum!

    My guess is that it can be done with either a two dimensional SUMIF [=SUMIF(A1:D5,"yes",B1:E5)], a creatively structured SUMIFS, or a chain of SUMIF + SUMIF + SUMIF + Etc., but it's hard to tell without knowing what form of non-concurrency is causing your headache. It would help immensely if you could attach a sample workbook - canned instructions below:

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    If your problem has been solved, please use "Thread Tools" to mark the thread as "Solved".

    If you're grateful for this site's existence and would like to contribute to the community, please consider posting something hilarious in our joke thread:
    https://www.excelforum.com/the-water...ke-thread.html

+ 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. sumif VBA in different cells
    By laualice in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-18-2018, 05:36 AM
  2. [SOLVED] SUM cells on row below cells containing SUMIF criteria
    By tool_fairy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-13-2015, 03:03 AM
  3. [SOLVED] Shorten SUMIF + SUMIF + SUMIF each with same reference range but different criteria???
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-13-2014, 09:25 PM
  4. SUMIF for non-corresponding cells
    By _nic_v in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-04-2013, 12:25 PM
  5. sumif cells
    By mcjklein in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-10-2012, 07:43 PM
  6. Calling function from worksheet with nonconcurrent range
    By jrodgold in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-27-2007, 05:17 PM
  7. SUMIF - Can I total the value of cells if three other cells = set
    By mg_sv_r in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-07-2005, 12:55 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