+ Reply to Thread
Results 1 to 2 of 2

[SOLVED] Formula to Calculate Percentage Sum of Certain Cells Based Off of Yes/No

  1. #1
    Registered User
    Join Date
    06-15-2021
    Location
    Connecticut, USA
    MS-Off Ver
    16.0
    Posts
    1

    [SOLVED] Formula to Calculate Percentage Sum of Certain Cells Based Off of Yes/No

    Hi, I run a business where I get 5% cashback on all money spent if I use a certain credit card. I'm trying to track the cashback total amount based off of the order amount (Supplier Cost, aka column P). Based off of the $100 transaction with "Yes" in column Q ("Yes" meaning the credit card WAS used for me purchasing the product) and the $50 transaction with "No" in column Q ("No" meaning I DID NOT use the credit card for purchasing the product), I will get 5% back on the $100 transaction (because "Yes", the credit card was used) and no cashback from the $50 transaction (because "No", the credit card was not used). So the total in the red cell we know should be $5 (because 5% of $100 is $5).

    I'm in search of help with the formula to calculate the 5% on the transactions in the "Supplier Cost" column (column P) only for transactions that have "Yes" in the Q column. I know my way around formulas, but I clearly do no know enough to figure this one out. I've spent about 10 hours in the past two days to figure this out (going slightly insane), so I figured I'd ask the experts themselves. Thank you in advance. I greatly appreciate it!

    10.png
    Last edited by robbb9; 06-15-2021 at 10:11 PM.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: Formula to Calculate Percentage Sum of Certain Cells Based Off of Yes/No

    Assum Yes/No is in Q3:Q4:
    Q2:
    =SUMIF($Q$3:$Q$4,"Yes",$P$3:$P$4)*0.05
    Quang PT

+ 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. [SOLVED] Calculate percentage based on data
    By mathanraj76 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-04-2016, 04:25 PM
  2. [SOLVED] Formula to calculate percentage based on date and Value
    By bnwash in forum Excel General
    Replies: 10
    Last Post: 05-02-2015, 05:13 AM
  3. Replies: 3
    Last Post: 10-29-2013, 04:49 PM
  4. Formula needed to split totals into 2 different cells based on percentage
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-07-2013, 04:55 PM
  5. Formula to calculate value based on reverse percentage
    By aharvestofhealth in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-11-2012, 04:50 PM
  6. Replies: 5
    Last Post: 04-04-2005, 10:06 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