Results 1 to 7 of 7

If/then statement with variable in logical test and value fields

Threaded View

  1. #1
    Registered User
    Join Date
    06-15-2017
    Location
    Boulder, CO
    MS-Off Ver
    Excel 2016
    Posts
    3

    Question If/then statement with variable in logical test and value fields

    So, I'm trying to automate all the dollar amount fields in the blue table on the right (with titles: group, type, and month), based on the table to the left.

    All rows from the table at the left, under the Group: Advocacy (for example), the dollar amounts from the Cost column in that corresponding row (and all others with Advocacy under Group) should add together into the Advocacy row in the blue table at the right. And so on for each Group (Community, Wedding, Safety, etc.). I'd like to have the same type of thing happen if the cost is associated with Donation/Marketing/Sponsorship in the Type column, and Month, based on Ring Date column.

    I'm very new to if/then statements so could use help. Everything I've found so far are resources to output simple text, but I need to carry over the cost of all rows associated with that group, type, or date into one field.

    Edit: Uploaded a document to manipulate, the current 'desired outcome' is in the cells, just manually added the cost values based on group category.


    Excel If Then Question.JPG
    Attached Files Attached Files
    Last edited by kahayler; 06-15-2017 at 12:39 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How to inlcude another variable into the logical test of the IF function
    By kiddles13 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-18-2016, 02:30 PM
  2. If statement logical test range cells
    By rhudgins in forum Excel General
    Replies: 4
    Last Post: 12-07-2010, 04:51 PM
  3. Second Logical test in if statement
    By speakers_86 in forum Excel General
    Replies: 3
    Last Post: 12-18-2007, 03:21 PM
  4. Logical test as a variable in a UDF
    By Dave in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-05-2006, 05:10 PM
  5. [SOLVED] If statement where the logical test is a range that equals a word
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 24
    Last Post: 09-06-2005, 04:05 AM
  6. If statement where the logical test is a range that equals a word
    By Steve o in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. [SOLVED] If statement where the logical test is a range that equals a word
    By Steve o in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-27-2005, 10:05 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