+ Reply to Thread
Results 1 to 4 of 4

Copy only formulas from a field of celles, do not copy data

  1. #1
    Registered User
    Join Date
    03-20-2019
    Location
    Ain Saadeh Lebanon
    MS-Off Ver
    Office 365
    Posts
    3

    Thumbs up Copy only formulas from a field of celles, do not copy data

    Hello,
    From a sheet containing numbers and formulas, i wish to copy in another sheet, but ONLY the formulas, not the data (numbers).
    Thanks
    Chrigu

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Copy only formulas from a field of celles, do not copy data

    Not sure you can do that with a formula, probably need VBA.
    I may be wrong, lets see who replies...
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    03-20-2019
    Location
    Ain Saadeh Lebanon
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Copy only formulas from a field of celles, do not copy data

    Regards and thanks!
    Trying to be clear :
    How to copy only formulas from a field of cells in an excel sheet in folder A to another sheet in another excel folder B, without copying anything else (no numbers, no formats no conditional formats, only formulas and only formulas, leaving other cells blank (no zeroes: blank)?
    Thanks

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Copy only formulas from a field of celles, do not copy data

    I think I've understood this correctly.
    You've written this in the formulas section so Im assuming you want some form of formula answer.
    Presumably you have something like this

    A1 contains the value 2
    A2 contains the value 3
    A3 contains the formula =A1+A2.

    You just want the formula in A3 copied across to another sheet, though this will probably change the result of that formula and possibly produce errors if the cells don't contain data.

    As stated I doubt this is possible via a formula, you probably have to use VBA to identify which cells have formulas and which have values.

    UPDATE: Check these out, I havent looked that closely.

    Via a UDF
    https://www.ozgrid.com/VBA/ExcelIsFormula.htm

    Via Condtional Formatting
    https://groups.google.com/forum/#!to...sc/a_Mj0s-Fns0
    https://www.mrexcel.com/archive/date...ke-this-exist/

+ 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 Formulas from 'Formulas' Sheet into Data Table Columns
    By Jonny757 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-10-2020, 08:18 PM
  2. Trying to copy data from one workbook in another and return one field as result
    By ExcellentName in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-01-2016, 11:05 AM
  3. [SOLVED] Copy and Paste data according to adress of celles defined in thé table.
    By dj_danu01 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-10-2015, 09:15 AM
  4. Enter data, copy formulas, copy values, paste data, delete data
    By alf40 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-15-2013, 07:23 PM
  5. [SOLVED] IF name in column A matches then copy data in other field
    By Blue Fishey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-16-2012, 04:38 PM
  6. Replies: 0
    Last Post: 03-13-2006, 12:10 AM
  7. [SOLVED] Help: formula=auto copy from sheet1, A1 only if data in field E1 .
    By pjaMN in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-23-2005, 12: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