+ Reply to Thread
Results 1 to 2 of 2

Nested IF AND formula

  1. #1
    Registered User
    Join Date
    03-27-2012
    Location
    Tampa, FL
    MS-Off Ver
    Excel for M365
    Posts
    53

    Exclamation Nested IF AND formula

    Hi,
    I have a large data set (over 1,000 rows). There are multiple qualifiers (different columns of data) that are used to populate an end user report. I recently acquired this report and found the prior user was populating everything manually (by sorting the qualifiers, summing the cells and manually entering that total into the report!). I am trying to see if there is a way to create a nested formula (or perhaps macro) to consolidate the data based on the qualifiers. See attached an example of (a) the qualifiers (b) a subset of the data and (c) a copy of the report. What I am trying to do is perhaps create a nested IF, AND formula for the qualifiers to populate the report, but I'm unsure if Excel can handle how many nested formulas there would be and also wondering if there is a better way to go about this project. This report used to take the old user 3-4 business days to fully populate so I'm trying to streamline that process. Appreciate the assistance and let me know if any follow up questions.

    Tab 1: these are the qualifiers - 4 different items that when combined produce a separate line on the report. Every line will feature a main account & report line item detail, but not every line will feature a sub-account or vendor name (as can be seen from the examples in the data subset and reporting).

    Tab 2: this is an example of how the report appears and the different columns of data that are then turned into a report.

    Tab 3: this is an example of the report - you can see the numbers in col C are hard-coded. The columns on tab 2 were manually filtered and amounts populated by summing the cells and hard coding the number in the cell.
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Nested IF AND formula

    Seems like a task you could accomplish using SUMIFS, but perhaps your current layout isn't ideal for it.

    Have a look at the attached. By splitting the "Comments" section into specific areas for a set criteria, you can easily sum the costs using SUMIFs.

    At least, I think this is what you mean...

    BSB
    Attached Files Attached Files

+ 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] Nested IF formula with AND
    By Jason15 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-08-2015, 12:43 PM
  2. Replies: 2
    Last Post: 08-24-2014, 04:56 AM
  3. nested formula (if and)
    By lpratt in forum Excel General
    Replies: 2
    Last Post: 11-09-2011, 06:11 PM
  4. Nested formula
    By shajms75 in forum Excel General
    Replies: 0
    Last Post: 03-28-2011, 04:41 AM
  5. Replies: 2
    Last Post: 10-08-2009, 09:51 PM
  6. Nested LEN and RIGHT formula
    By Dan27 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-20-2008, 07:53 AM
  7. help on a nested countif/nested if formula
    By vickiemc in forum Excel General
    Replies: 2
    Last Post: 08-13-2008, 08:29 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