+ Reply to Thread
Results 1 to 3 of 3

Paste formula from a row into multiple selected rows?

Hybrid View

max3732 Paste formula from a row into... 05-25-2017, 06:21 PM
mehmetcik Re: Paste formula from a row... 05-25-2017, 06:27 PM
max3732 Re: Paste formula from a row... 05-26-2017, 11:25 AM
  1. #1
    Forum Contributor
    Join Date
    04-01-2010
    Location
    USA
    MS-Off Ver
    Office 2021
    Posts
    185

    Paste formula from a row into multiple selected rows?

    I have a basic income statement with from multiple companies as well as the total of all companies and want to put the % each contributes to each category below the actual number.

    The formula is very simple, which is taking the value from each company and dividing it by the total, which I did for the first category. Now I'm trying to figure out how to do that with the rest of the values, which are blank cells in the area that has the values. If I do down the line and do it one by one it works, but would take forever.

    To try to do in one fell swoop I tried copying the first row with the formula, then selected the range with the values and blank cells. Then I did "Go to special" and "blanks", which highlights all the blank cells. Now that I'm trying paste the formula there it won't work because it says the size doesn't match. I tried it with paste formula only and it still don't work.

    Aside from using VBA is there a simple way to tell excel I want to take the formula with the row I'm copying and put it into the blank cells?

    Please see the attached sample sheet.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Paste formula from a row into multiple selected rows?

    Select The range starting with the cell with the formula.

    Click on the formula in the formula box at the top of excel

    Press ctrl and keep it pressed then press enter.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Contributor
    Join Date
    04-01-2010
    Location
    USA
    MS-Off Ver
    Office 2021
    Posts
    185

    Re: Paste formula from a row into multiple selected rows?

    Quote Originally Posted by mehmetcik View Post
    Select The range starting with the cell with the formula.

    Click on the formula in the formula box at the top of excel

    Press ctrl and keep it pressed then press enter.

    Thank you! I was highlighting a blank area in addition to the ones listed and didn't realize it.

+ 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. copy and paste multiple selected cells that are not connected.
    By promoteglobal in forum Excel General
    Replies: 9
    Last Post: 12-20-2015, 07:04 PM
  2. Replies: 2
    Last Post: 05-06-2014, 08:26 AM
  3. Return indexes of rows when multiple rows of a table are selected.
    By samkumar in forum Word Programming / VBA / Macros
    Replies: 0
    Last Post: 08-12-2013, 04:54 AM
  4. [SOLVED] Paste contents of selected rows in sheet 2 after each row of sheet1
    By diamanthian in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-19-2013, 12:09 PM
  5. [SOLVED] Macro to cut and paste selected rows
    By Mearsy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-09-2012, 09:14 AM
  6. am not able to paste multiple selected cells to footer
    By eerhs in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-02-2012, 05:56 AM
  7. Looking for macro to paste same formula in multiple columns with inc rows
    By excelvbanewbi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-07-2011, 10:31 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