+ Reply to Thread
Results 1 to 6 of 6

Copy formulas in a filtered table & paste as values (visible cells only)

  1. #1
    Forum Contributor
    Join Date
    09-14-2017
    Location
    Perth, Australia
    MS-Off Ver
    Excel 365 version 2202
    Posts
    123

    Copy formulas in a filtered table & paste as values (visible cells only)

    Hi there, I am working in a table that I have to filter regularly.

    If I want to copy a formula into every visible cell in the filtered list it works fine - I just copy the cell with the formula then select all visible cells in the filtered table, go to 'select visible cells only' and then paste as formulas - no problem.

    However, I then need to covert those cells that are formulas to values. If I copy all those same visible cells in the table (cells with the formulas in them) and then go to 'select visible cells only' and paste as values, it doesn't work. I get the error "This action won't work on multiple selections".

    Is there are way to do this?

    Thanks

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    19,041

    Re: Copy formulas in a filtered table & paste as values (visible cells only)

    Not to say that I can resolve this issue, however someone might have a better chance of offering a solution if we could see a sample workbook.
    Information is given in the "HOW TO ATTACH YOUR SAMPLE WORKBOOK" banner at the top of the page.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Forum Contributor
    Join Date
    09-14-2017
    Location
    Perth, Australia
    MS-Off Ver
    Excel 365 version 2202
    Posts
    123

    Re: Copy formulas in a filtered table & paste as values (visible cells only)

    Hi again, ok in attached, if I filter column B "Q1 Planned", all the orange highlighted values in columns C & D are formulas.

    I want to be able to apply that filter then select all those orange values (down to row 9 - so excluding totals at bottom) and go copy, visible cells only icon then paste as values.

    But I get an error "This action won't work on multiple selections."

    Thanks...
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,115

    Re: Copy formulas in a filtered table & paste as values (visible cells only)

    Explain WHY you need to do this in this way?

    One way round it is to sort your data so that all the relevant rows are consecutive before you copy and paste values, but apart from VBA, that's the only way.

    However, I don't understand why you are applying a formula in this way - it's not the normal way to do things. If you can explain the reasoning, we mught be able to offer you an altogether batter way of working.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Contributor
    Join Date
    09-14-2017
    Location
    Perth, Australia
    MS-Off Ver
    Excel 365 version 2202
    Posts
    123

    Re: Copy formulas in a filtered table & paste as values (visible cells only)

    I couldn't agree with you more! Unfort my boss is not excel savvy at all and he created a worksheet that he likes and I am stuck with it so i have to do all these workarounds to get results he wants. I will add sorting to it though and explain to him why - I'm sure he'll agree to that. Thanks very much!

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,115

    Re: Copy formulas in a filtered table & paste as values (visible cells only)

    You're welcome, but truthfully, if he wants you to do the spreadsheet work, then he should be prepared to let you do it your way. I think you need to reeducate him.

+ 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 Visible cells and paste values only to visible target cells
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-20-2024, 12:01 AM
  2. Copy formulas in a filtered list & paste as values (visible cells only)
    By ajwilltravel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-12-2023, 04:06 AM
  3. How to copy-paste only filtered values of Excel table into Word
    By 4sp1r3 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-22-2021, 11:16 AM
  4. Replies: 4
    Last Post: 01-27-2015, 10:48 PM
  5. Copy visible cells in filtered table and paste in userform textbox - email
    By pfeifferjoey in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-29-2014, 11:23 AM
  6. [SOLVED] Macro: Copy text values of Visible cells (on a FILTERED data)
    By rampal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-24-2013, 06:12 AM
  7. [SOLVED] Copy & Paste Visible Cells with Formulas
    By Ricky in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-27-2005, 02: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