+ Reply to Thread
Results 1 to 11 of 11

Copying Formula Issue Advice - I'm SURE there is an easy answer I am overlooking

  1. #1
    Registered User
    Join Date
    04-07-2005
    Posts
    19

    Copying Formula Issue Advice - I'm SURE there is an easy answer I am overlooking

    Hello,

    We have a spreadsheet where column A contains a list of properties and columns F thru Y contain summary totals for each of these properties for the year. The first property is on row 3 and I correctly have it pulling over the totals for each category of expense, ie principle, interest, insurance etc. Those expenses are shown by month on a tab with the same name as the property. However, on the property tab, column B lists the expenses and each month is in a column, the sum being in column P for each category of expense. I don't want to have to click in each cell to say ='xxx Carneal'!P12, ='xxx Carneal'!P13 etc. I can copy row 3 down to pull the formula down and get the right summary cell, but doing so pulls down the incorrect tab name. If I copy the formula from the first column over, it gives the correct property tab, but increments by column (D to E for example) instead of moving down rows. I'm sure there is an easy way to do this that I'm overlooking. I would be very grateful if someone could point out the obvious to me! TIA!!!
    Attached Files Attached Files
    Last edited by johnnygirl51; 02-08-2017 at 10:37 PM. Reason: Adding Attachment

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Copying Formula Issue Advice - I'm SURE there is an easy answer I am overlooking

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Quang PT

  3. #3
    Registered User
    Join Date
    04-07-2005
    Posts
    19

    Re: Copying Formula Issue Advice - I'm SURE there is an easy answer I am overlooking

    Done! THANK YOU!

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

    Re: Copying Formula Issue Advice - I'm SURE there is an easy answer I am overlooking

    Some of the original formulas referenced column P and some column D. Since it is a summary sheet and since column P on each property sheet has the heading 'Total' I assume that is correct. If so then paste the following formula in Summary!F3, drag across to column X and down to row 6:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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.

  5. #5
    Registered User
    Join Date
    04-07-2005
    Posts
    19

    Re: Copying Formula Issue Advice - I'm SURE there is an easy answer I am overlooking

    THANK YOU! It appears to be off by one column somehow, meaning if I add values to loan principle for Warflield, it shows up as loan interest. The Property Mgmt fee shows up in loan principle.
    Attached Files Attached Files

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

    Re: Copying Formula Issue Advice - I'm SURE there is an easy answer I am overlooking

    The formula appears to have been pasted into cell G3 instead of F3. Try pasting the formula (from post #4) into Summary!F3, enter, then drag across and down.
    Let us know if you have any questions.

  7. #7
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,737

    Re: Copying Formula Issue Advice - I'm SURE there is an easy answer I am overlooking

    Please re-read Post #4 more carefully - you should have put the formula in cell F3 of the Summary sheet, and then copied it across and down, whereas you put it into cell G3.

    Hope this helps.

    Pete

  8. #8
    Registered User
    Join Date
    04-07-2005
    Posts
    19

    Re: Copying Formula Issue Advice - I'm SURE there is an easy answer I am overlooking

    MY APOLOGIES! So sorry I put it in the wrong cell! THANK YOU for the help! I'd buy you a coffee if I could!!!!

  9. #9
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,737

    Re: Copying Formula Issue Advice - I'm SURE there is an easy answer I am overlooking

    Well, if that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post and mark this thread as SOLVED.

    Also, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile), and it's a bit cheaper than a cup of coffee.

    Pete

  10. #10
    Registered User
    Join Date
    04-07-2005
    Posts
    19

    Re: Copying Formula Issue Advice - I'm SURE there is an easy answer I am overlooking

    Would it be possible to give me a brief explanation of how this formula works? I really want to understand it. THANK YOU!!!!!

  11. #11
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,737

    Re: Copying Formula Issue Advice - I'm SURE there is an easy answer I am overlooking

    The INDIRECT function allows you to build up a string which is equivalent to a cell or range reference, and then passes it to Excel to be evaluated as if it were a proper cell or range reference. In your case, the sheet name can be found in cell A3 and the column you want to get the data from is always column P, However, you want to get data from P11, P12, P13 etc. (i.e. row-wise) as you copy the data across columns, so the COLUMN(K1) part will initially return 11 (as K is the 11th column), but then becomes COLUMN(L1), COLUMN(M1) etc. as the formula is copied across, so this term returns 11, 12, 13 etc. (i.e. the different rows that you want) in different columns.

    So, the composite string is built up of:

    ("'"&$A3&"'!P"&COLUMN(K1))

    which becomes:

    ("'"&"Carneal"&"'!P"&11)

    or:

    ("'Carneal'!P11")

    in the first cell. The sheet name varies as the formula is copied down, and the row reference changes as the formula is copied across.

    Hope this helps.

    Pete

+ 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. SUM ARRAY Formula Issue - Probably an easy one...
    By huntethic in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-10-2015, 12:27 PM
  2. Advice & Answer for Multiple IF Statement
    By craigos in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-27-2013, 04:54 PM
  3. Need some advice - is excel the answer?
    By nellyc in forum Excel General
    Replies: 5
    Last Post: 01-23-2013, 08:05 AM
  4. Probably an easy answer
    By Nibiru in forum Excel General
    Replies: 1
    Last Post: 09-26-2011, 01:39 PM
  5. Simple Formula - Probably an Easy Answer
    By Spamsational in forum Excel General
    Replies: 2
    Last Post: 04-05-2010, 02:14 AM
  6. hopefully easy one to answer !!
    By Paul Cooke in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-26-2006, 06:35 AM
  7. little help, i'm sure it's an easy answer
    By Punk0Rama in forum Excel General
    Replies: 1
    Last Post: 06-22-2005, 03:05 AM

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