+ Reply to Thread
Results 1 to 5 of 5

How to Add a formula to all cells

  1. #1
    Registered User
    Join Date
    06-19-2012
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    34

    Smile How to Add a formula to all cells

    Hi everyone,

    I have a massive database that I need to add the "IFERROR" Formula to.

    I thought about doing a search and replace "=" with "=Iferror(", but this doesn't solve the problem of the end part of the formula where I have to add in ",N/A)"

    I was wondering if there is a way to add in a formula to all cells?

    Thank you.
    Tony
    Last edited by tonylyx; 06-28-2013 at 01:18 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,614

    Re: How to Add a formula to all cells

    Write in first cell formula you want and if they are in contiguos row when you double click black cross at the right bottom corner of the cell it should apply to all other cells.

  3. #3
    Registered User
    Join Date
    06-19-2012
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    34

    Re: How to Add a formula to all cells

    Hi zbor, but that would override all the other existing formulas within the other cells as well. The other cells contain indirect function etc..

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,317

    Re: How to Add a formula to all cells

    Maybe you can use a macro...

    Here is some sample code that will is convert all formulas in cells A1:A10...

    Please Login or Register  to view this content.
    Last edited by jeffreybrown; 06-28-2013 at 12:54 PM.
    HTH
    Regards, Jeff

  5. #5
    Registered User
    Join Date
    06-19-2012
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    34

    Re: How to Add a formula to all cells

    Thank you Jeff it works! Starred
    Last edited by tonylyx; 06-28-2013 at 01:09 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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