+ Reply to Thread
Results 1 to 2 of 2

Macros requiring a nested IF AND formula?

  1. #1
    Registered User
    Join Date
    03-02-2015
    Location
    Brisbane, Australia
    MS-Off Ver
    2012
    Posts
    4

    Macros requiring a nested IF AND formula?

    Hi I am trying to summarise data from several sheets into one summary page. however the data being drawn is not always appearing in the same cell between worksheets. so I assume there is to be nested formulas. I have no idea how to achieve this summary. I have attached an example of the two worksheets, highlighting the data I want to summarise with a macro button. can anyone please help with this complex formula?
    thanks
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Macros requiring a nested IF AND formula?

    There is no need to use VBA for this, the regular built in formulas will do what you want - with a slight adjustment to your data tables.

    Instead of using 2 rows for the year and date, use real dates.....
    B
    C
    D
    E
    F
    G
    H
    7
    8/1/2014
    9/1/2014
    10/1/2014
    11/1/2014
    12/1/2014
    1/1/2015
    2/1/2015
    8
    2014
    2014
    2014
    2014
    2014
    2015
    2015
    9
    August
    September
    October
    November
    December
    January
    February
    10
    150
    150
    150
    150
    150
    150
    150
    11
    75
    75
    75
    75
    75
    75
    75

    (you can format row 7 to just show mth/yr if needed, and then delete rows 8:9
    Then for the extract...
    A
    B
    C
    D
    E
    9
    Gross Profit Net Profit
    10
    Project : 09/130
    1,200
    600
    1200
    600
    11
    Project : 09/268
    1,800
    900
    1800
    900

    D10=SUMIF('JOB 09 130'!$7:$7,">=7/1/2015",'JOB 09 130'!$10:$10)
    adjust the data row and sheet names as needed for the other calcs
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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] Formula help requiring two variables
    By isimba in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-10-2012, 08:27 AM
  2. FORMULA Requiring Multiple Actions
    By mistytreasure in forum Excel General
    Replies: 3
    Last Post: 05-31-2011, 11:38 AM
  3. Formula requiring three actions
    By rraymond in forum Excel General
    Replies: 7
    Last Post: 05-27-2011, 04:50 PM
  4. [SOLVED] using sumif formula: but requiring satisfying 2 if statements
    By Bernard Liengme in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 12:05 PM
  5. using sumif formula: but requiring satisfying 2 if statements
    By Bernard Liengme in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 04:05 AM
  6. [SOLVED] using sumif formula: but requiring satisfying 2 if statements
    By karenm in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  7. [SOLVED] using sumif formula: but requiring satisfying 2 if statements
    By karenm in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  8. [SOLVED] Formula requiring two different criterias
    By MJMP in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-01-2005, 07:06 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