+ Reply to Thread
Results 1 to 2 of 2

Make Formula Constant Number Based on Criteria

  1. #1
    Forum Contributor
    Join Date
    05-15-2015
    Location
    Orlando, FL
    MS-Off Ver
    Office Standard 2016
    Posts
    269

    Make Formula Constant Number Based on Criteria

    Hi everyone,

    Looking to add a command to a macro that can change a group of cells to a constant number (eliminating the formula pulling live numbers). On my spreadsheet Dashboard, I have a table W5:AE*. When I run this macro, if a cell within the W column (W5:W*) ever equals the value in M5, I would like to essentially do a copy/paste values of the numbers in the corresponding column/row of AC5:AD*.

    As an example, if I run this macro now W6 = December 2022, the same value in M5. Therefore the macro would Copy/Paste Values into AB5:AC5, eliminating the live formula, now the cells are showing the hard coded number rather than the formula in these two cells.

    Hoping I explained this correctly. If not I can try to create a sample workbook of what I'm looking to accomplish.

    Thanks for the help!

  2. #2
    Valued Forum Contributor
    Join Date
    11-29-2022
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    435

    Re: Make Formula Constant Number Based on Criteria

    Little confused as to what you are doing, but the VBA command to paste as values is:

    Please Login or Register  to view this content.

+ 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. Looking to make a averageif formula based on a criteria.
    By ceeechan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-18-2021, 11:30 AM
  2. Copy row based on criteria to existing sheets & constant update
    By pixyrene in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-26-2017, 05:55 AM
  3. [SOLVED] Make A Cell Auto Multiply By A Constant Number
    By CoopertheRescuedog in forum Excel General
    Replies: 2
    Last Post: 02-03-2016, 01:26 AM
  4. Replies: 2
    Last Post: 04-05-2015, 01:38 PM
  5. Replies: 2
    Last Post: 09-25-2012, 09:08 AM
  6. Make column headers constant in formula
    By cdiaz in forum Excel General
    Replies: 3
    Last Post: 06-28-2011, 03:05 PM
  7. Replies: 1
    Last Post: 07-14-2006, 10:20 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