+ Reply to Thread
Results 1 to 12 of 12

Parsing values out to separate summaries

  1. #1
    Registered User
    Join Date
    09-14-2016
    Location
    Melbourne
    MS-Off Ver
    Office 365
    Posts
    17

    Parsing values out to separate summaries

    I have created a workbook to record assets purchased though out the financial year. There are 5 worksheets within the workbook, the Cover sheet (Where all details to be entered), 1ST QTR, 2ND QTR, 3RD QTR and 4TH QTR.

    All the asset details are entered into the cover sheet and then these details (Whole row) need to be reflected on either the 1ST QTR, 2ND QTR, 3RD QTR or 4TH QTR worksheet depending on the value of the ‘Period Purchased’ column (drop down List) value.

    Example: I purchased a drill on 20/03/2016 for $100 and set the value of the ‘Period Purchased’ to 3RD QTR. This information should then be reflected in only the 3RD QTR worksheet.

    Can I have some assistance in creating the formulas? Your assistance will be much appreciated.
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Parsing values out to separate summaries

    Try

    UMMERGE the cells withe Description in ALL sheets: simply increase the column width of C and Q

    in P5 of "1st Quarter"

    =IFERROR(INDEX('Cover Sheet'!$B$2:$G$1000,SMALL(IF('Cover Sheet'!$H$2:$H$1000="1st Quarter",ROW(A2:A1000)-ROW(A2)+1,""),ROWS($A$2:A2)),COLUMNS($A:A)),"")

    Enter with Ctrl +Shift+Enter

    Copy across and down

    Repeat for other quarter sheets
    Last edited by JohnTopley; 09-15-2016 at 02:51 AM.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Parsing values out to separate summaries

    and unmerge ALL the rows as well. You're only asking for trouble with those merged cells. one row = one line of data. then just adjust the cell depth to suit.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    09-14-2016
    Location
    Melbourne
    MS-Off Ver
    Office 365
    Posts
    17

    Re: Parsing values out to separate summaries

    Thank you for the above formula John. It works fine but I'm finding that if i insert 5 or more new rows in any for the 4 quarters worksheets the formula then stops working and shows blank cells even though there are values in the cover sheet.

    Any ideas as to why this is happening?

    Cheers,

    Ash

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Parsing values out to separate summaries

    No idea so please post a small sample file (not image) showing the problem.

    To Attach a File:

    1. Click "Go Advanced"
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.

  6. #6
    Registered User
    Join Date
    09-14-2016
    Location
    Melbourne
    MS-Off Ver
    Office 365
    Posts
    17

    Re: Parsing values out to separate summaries

    Hi JohnTopley,

    As as per the attachments, without inserting 5 rows the values are displayed as per the cover sheet but upon inserting 5 or more rows just after the expenses the values disappear.
    Attached Images Attached Images

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Parsing values out to separate summaries

    I need a file NOT image please.

  8. #8
    Registered User
    Join Date
    09-14-2016
    Location
    Melbourne
    MS-Off Ver
    Office 365
    Posts
    17

    Re: Parsing values out to separate summaries

    Sorry mate. It has been attached now.

    I've allocated 5 items to the 1st quarter from the cover sheet. If you view the 1st quarter tab you will be able to view all 5 items but if you insert 5 new lines anywhere below the asset purchases table (Line 11 and onwards) the values in the table will disappear.

    Regards,

    Ash
    Attached Files Attached Files
    Last edited by adenkha; 10-21-2016 at 10:57 PM.

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Parsing values out to separate summaries

    I must be missing something: I delete then re-inserted the lines in "Cover Sheet" and the summary in "1st QTR" P5 onwards is still OK.

    If I change the Quarters they appear in the right sheet.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    09-14-2016
    Location
    Melbourne
    MS-Off Ver
    Office 365
    Posts
    17

    Re: Parsing values out to separate summaries

    John,

    Sorry i wasn't very clear. If you view the 1st QTR and insert 5 or 6 new rows or more in row 11 or below you will see that the values in the Asset table in the 1st QTR tab disappear.

    Ash

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Parsing values out to separate summaries

    Sorry ... Me be being dumb!

    Change formula to:

    =IFERROR(INDEX('Cover Sheet'!$B$2:$G$1005,SMALL(IF('Cover Sheet'!$H$2:$H$1005="1st Quarter",ROW('Cover Sheet'!$A$2:$A$1005)-ROW($A$2)+1,""),ROWS($A$2:A2)),COLUMNS($A:A)),"")

    enter with Ctrl+Shift+Enter

    Copy across and down

  12. #12
    Registered User
    Join Date
    09-14-2016
    Location
    Melbourne
    MS-Off Ver
    Office 365
    Posts
    17

    Re: Parsing values out to separate summaries

    Thank you very much mate, worked like a charm.

+ 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. Replies: 3
    Last Post: 04-07-2016, 08:45 AM
  2. [SOLVED] Excel2010 IF Formula to return value based on a separate date and two separate text values
    By jakecutler in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-12-2015, 03:24 AM
  3. Replies: 3
    Last Post: 02-27-2015, 03:59 PM
  4. [SOLVED] Parsing data to separate columns
    By greenfield4 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-06-2013, 04:46 PM
  5. [SOLVED] Need help to separate numeric values into separate cells (LEFT and RIGHT won't work)
    By RichMcc in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-27-2013, 07:48 PM
  6. Parsing Text from cell into separate rows
    By TomOhio in forum Excel General
    Replies: 3
    Last Post: 11-27-2011, 09:16 PM
  7. Challenge: Charting weekly summaries, monthly summaries
    By kolfinna in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-19-2007, 07:28 PM

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