+ Reply to Thread
Results 1 to 3 of 3

first time attempting to create a macro with a variable formula

  1. #1
    Registered User
    Join Date
    08-18-2019
    Location
    Phoenix AZ
    MS-Off Ver
    365
    Posts
    2

    first time attempting to create a macro with a variable formula

    Hello,

    I'm attempting to create a macro with a variable and am having trouble with the formula.

    Calculate the sum of two cells where:

    1) Nodes 1-20 = $10,000
    2) Every additional 10 nodes = $1,000 (e.g. 21-30 nodes = $1,000, 31-40 nodes = $1,000, etc.)

    Thanks in advance.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: first time attempting to create a macro with a variable formula

    Using Formula

    Please Login or Register  to view this content.
    Using VBA

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    08-18-2019
    Location
    Phoenix AZ
    MS-Off Ver
    365
    Posts
    2

    Re: first time attempting to create a macro with a variable formula

    Thank you, that solved my issue.

+ 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. [SOLVED] Macro to create PivotTable errors out with run-time error 91 object variable not set
    By doleenovodno in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-07-2018, 08:03 AM
  2. Attempting to Create an If Function
    By vbaNewbieMan in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-25-2014, 02:43 PM
  3. Attempting to create macro that finds a value and then transposes that row to a column
    By exoscoriae in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2014, 11:49 AM
  4. Attempting Macro to hide current tabs and create new ones with same info (Diff tab name)
    By theta25nupe in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-14-2014, 11:44 AM
  5. Replies: 16
    Last Post: 06-25-2011, 05:14 PM
  6. Attempting to pull a variable into another sheet dependend on drop down list
    By ltayala in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-04-2011, 02:04 AM
  7. attempting to automate an import with variable data
    By Excelcanberra in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-22-2008, 12:15 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