+ Reply to Thread
Results 1 to 2 of 2

Apply formula to all values in range

  1. #1
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    Apply formula to all values in range

    Hi everyone,

    I have a range of numeric values populating in columns F:R. The number of rows populated will value for each use. All I'm trying to do is put together a macro that will take the value in each cell within columns F:R and divided by 37.5 and then multiple the total by 100. Something like this:

    F2Value = 3
    F2NewValue = (3/37.5) * 100 = 8%
    F3Value = 4
    F3NewValue = (4/37.5) * 100 = 10.67%

    Any help would be greatly appreciated.

    Thanks!

  2. #2
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: Apply formula to all values in range

    This assumes there are headings in row 1, that the data stars in row2, that there are no blank rows in the data, or blank columns between columns F and R
    Run the macro from the sheet that you want to amend

    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. Apply formula to selected cell range
    By cmb80 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-06-2015, 04:53 AM
  2. [SOLVED] Apply formula through a range of data
    By meghs918 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-22-2015, 06:59 PM
  3. Conditional formatting if in range of values: apply to column
    By marcopietro in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-19-2014, 02:34 PM
  4. Date Range Formula to apply value?
    By Cdyerbg in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-10-2014, 05:22 PM
  5. [SOLVED] VBA Apply Formula to All Cells In Range
    By hobbiton73 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-20-2014, 09:25 AM
  6. Replies: 1
    Last Post: 01-23-2013, 03:00 PM
  7. Excel 2007 : Apply formula to value depending on range
    By jordanb in forum Excel General
    Replies: 1
    Last Post: 10-03-2011, 09:24 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