+ Reply to Thread
Results 1 to 6 of 6

Creating a formula conditioned on an adjacent column

  1. #1
    Registered User
    Join Date
    01-04-2015
    Location
    Beaufort, NC
    MS-Off Ver
    Microsoft office 2011 for Mac
    Posts
    9

    Creating a formula conditioned on an adjacent column

    I have created a spreadsheet to calculate net donations for a newly created charitable cause. We have received donations via cash, checks, and through Facebook and PayPal. While donations through FB come to us in full, PayPal charges 2.2% + .30 per transaction, so the calculation of net proceeds from PayPal is =C5-(C5*0.022)-0.3 .

    In the column next to the “Net Donation” column I want to insert an if/then formula that’s conditioned on making the appropriate deductions IF the source of the funds is PayPal. I’ve tried creating what to me seems like a sensible syntax for the formula but the spreadsheet doesn’t even know it’s supposed to be a formula.

    Is there a way to put such a formula in the “I” column based on the source designated in the “H” column? I’ve attached a screen clipping. If it is possible, would you mind writing that formula for me? I don’t use Excel very often and have never before needed to create a conditional formula.
    I've tried to attach a screen clipping but can't seem to do that. so here are the column headings pasted as text:




    -----A----------------B------------C----------D----------E---------------F--------------G-----------H------------I
    Donated by Address Amount Contact Blank Total collected: $$$$ Source Net Donation


    F And G aren't really columns. F is a label for G, which is just a tally of everything in Column I



    Getting those columns to format correctly seems to be impossible even with supposedly monospaced fonts, so I'll just hope it's obvious from what I've printed here.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Creating a formula conditioned on an adjacent column

    Maybe
    =IF(H5="Paypal",C5*0.978-0.3,C5)

  3. #3
    Registered User
    Join Date
    01-04-2015
    Location
    Beaufort, NC
    MS-Off Ver
    Microsoft office 2011 for Mac
    Posts
    9

    Re: Creating a formula conditioned on an adjacent column

    Thanks, but that didn't quite work. I guess what I need is an If/then/ELSE statement, one that does a calculation based upon another column equaling "PayPal" and an else statement that simply pastes 100% of the donated amount into that column if the other column doesn't equal "PayPal." Then I'd want to copy that statement/formula to every cell in the column. It's not crucial if I can't create that kind of formula; it was just an "ideal world" scenario that passed through my mind.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Creating a formula conditioned on an adjacent column

    In what way doesn't it work?

  5. #5
    Registered User
    Join Date
    01-04-2015
    Location
    Beaufort, NC
    MS-Off Ver
    Microsoft office 2011 for Mac
    Posts
    9

    Re: Creating a formula conditioned on an adjacent column

    You know what? I spoke hastily. I didn't properly copy your formula into the spreadsheet the first time. After reading your response I went back and did it again. This time I copied it into the right location and it worked perfectly. Thank you! And I thought I figured out how I could post a screenshot to this forum, so I tried to post a link to one. Then I saw the message that I'm not allowed to post links until I've posted a few times. Anyway, let it suffice for me to say that your formula did in fact work and I'm most appreciative of your help.

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Creating a formula conditioned on an adjacent column

    Glad to help & thanks for the feedback

+ 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. Auto-adjust # of rows in a column that have a formula based on adjacent column data?
    By Norcal1 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 05-31-2018, 02:03 PM
  2. Need Formula to Match Text In a column And Retrieve adjacent column value
    By excel_joel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-06-2014, 02:08 AM
  3. [SOLVED] Formula for returning the next value unless value in adjacent column in 1
    By helsbelz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-04-2014, 07:21 AM
  4. Replies: 3
    Last Post: 10-28-2013, 03:33 PM
  5. COUNTIF based on dates added, conditioned by another column.
    By jurax99 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-19-2012, 07:54 PM
  6. Replies: 6
    Last Post: 03-04-2006, 07:30 AM

Tags for this Thread

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