+ Reply to Thread
Results 1 to 10 of 10

Sum values in multiple columns with same index number

  1. #1
    Registered User
    Join Date
    06-24-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    88

    Sum values in multiple columns with same index number

    Hello

    I have made a cash flow sheet to show Apartment Sales Inflow per month. (Please see attached sheet)

    I have created various Rules in sheet "Gaps" showing when proportionate payment will be received for each construction stage of a particular apartment, by putting Month number under each stage in the table.

    Second Sheet has Unit number wise costing details for each Apartment and the stagewise cost break up for each construction stage.

    Third Sheet, which is my cash Flow sheet shows the Money inflow for each month based on when each apartment was sold and which construction stages are complete for respective apartments.

    Now this sheet works perfectly well for me for Apartments which are sold at begining of the construction cycle.

    My problem is, when I assume a sale of an Apartment at a later date when my first 5 construction stages are completed, I expect that the Sum of those completed stages should reflect in CashFlow sheet (See Rule number KR0319 in sheet GAPS, where first five stages are shown complete in Month 1) under the Sale Month in CashFlow sheet, which will be the First payment Month for that particular apartment.

    Can someone please help ! Would really appreciate it.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Sum values in multiple columns with same index number

    If I understand correctly then using the following array entered formula* may help:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    *Array entered formulas are confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Note that in the attached file zero values have been hidden using conditional formatting.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    06-24-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: Sum values in multiple columns with same index number

    Hello JeteMc

    It works brilliantly. Does exactly what I was looking for !!

    Thank you so much for your help , Really appreciate it!!

    I am trying it in my main sheet without any issues so far, will come back to you if I face any issues.

    Thanks again !

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Sum values in multiple columns with same index number

    You're Welcome and thank you for the feedback. If no issues arise please take a moment to mark the thread as 'Solved' using the thread tools drop down in the ribbon above your first post. I hope that you have a blessed day.

  5. #5
    Registered User
    Join Date
    06-24-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: Sum values in multiple columns with same index number

    Hello JeteMc

    I have encountered a slight problem. If I do leave "Rule" column i.e. cell in Column D Blank, it shows a strangely large sum /value in "column E".

    Actually, if the Rule field in column D is Blank, then it should show "0" in ALL cells under Months columns i.e. from Column E to AU.

    Could you please help !

    Thanks

  6. #6
    Registered User
    Join Date
    06-24-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: Sum values in multiple columns with same index number

    Hello JeteMc

    I just discovered that if I change the starting month to a later month i.e. if I change the Month in E3 from Sep-18 to Oct-18, it pushes those large numbers in Column E to following columns i.e. I , J

    waiting for your help ! thanks in advance

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Sum values in multiple columns with same index number

    As to post #5 modify the formula to read:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Remember to simultaneously press the Ctrl, Shift and Enter keys after making the change and before copying to other cells.
    As to post #6 when I change the date in cell E3 on the MS-Cashflow sheet from 8/1/2018 to 9/1/2018 (I am working with the file attached to post #2) it causes cells C4:C8 to display #N/A and E4:AU8 to display blanks, so I imagine that I am missing something else that needs to be done when that date is changed. Please either explain all of the changes made, or upload another file that demonstrates the issue.
    Let us know if you have any questions.

  8. #8
    Registered User
    Join Date
    06-24-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: Sum values in multiple columns with same index number

    Hello JeteMc

    With your new formula, its solves my problem from post#5 and reference to post# I am getting the same error #N/A, as you if I change the month. I am no longer having the figures pushed to further month, as earlier experienced.

    wondering why?

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Sum values in multiple columns with same index number

    I think that it may be because the dates in K5:K9 of the 'MS-PS' sheet are 8/1/2018. After changing E3 (MS-Cashflow sheet) to 9/1/2018, if you also change the date in K5 (MS-PS sheet) to 9/1/2018 then cell C4 on the 'MS-Cashflow' sheet displays 5 and values are displayed in E4:L4
    Let us know if you have any questions.

  10. #10
    Registered User
    Join Date
    06-24-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: Sum values in multiple columns with same index number

    You are right ! Cashflow Month Range has to be same as the Sale Date Range in MS-PS sheet, else it gives error. I think I can manage this issue. Thanks again for your prompt help !!

+ 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. return multiple values based on a repeating number, Index and Match?
    By damagedbodies in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-28-2017, 10:42 AM
  2. [SOLVED] Using Index and Rank to show a specific number of values from multiple lists
    By Rex411 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-06-2015, 08:02 PM
  3. Index+Match 2 values in multiple columns
    By Beginer25 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 04-17-2015, 11:23 AM
  4. Looking up values based on a field of text/ number, multiple columns
    By engen44 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-25-2014, 09:26 AM
  5. Replies: 1
    Last Post: 03-28-2013, 01:48 PM
  6. [SOLVED] Chop Large Excel Column into Specific Number of Values in Multiple Columns
    By kheschmann in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-06-2013, 03:42 PM
  7. [SOLVED] Lookup match index multiple values return other columns
    By martypocock in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 11-07-2012, 10:57 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