+ Reply to Thread
Results 1 to 3 of 3

need a smarter formula depending on user input

  1. #1
    Forum Contributor
    Join Date
    08-16-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2019
    Posts
    209

    need a smarter formula depending on user input

    Hi,

    Just wandering whether there is a better formula when it comes to Sum based on user input, for example, if user input 15 on cell S5, formula should be automatically Sum the last 15 months, Currently i have a crappy formula that works, but i am just lazy to write all the code as the number will go up to 24 months.

    Please Login or Register  to view this content.
    Thanks
    Lex
    Attached Files Attached Files
    Last edited by lexusap; 10-17-2017 at 12:16 AM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,963

    Re: need a smarter formula depending on user input

    s9:
    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Forum Contributor
    Join Date
    08-16-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2019
    Posts
    209

    Re: need a smarter formula depending on user input

    Hi Proton!

    It works perfectly!!! woohoo.

    Thanks
    Lex

+ 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] Set a variable print area depending on user input.
    By 323428 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 07-28-2017, 02:19 PM
  2. [SOLVED] Help with code to copy block depending on user Input
    By rv02 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-17-2017, 05:24 PM
  3. Please Help with Copy/Paste and creating sheets depending on user input
    By rrstull in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-06-2013, 05:43 AM
  4. [SOLVED] Lookup more than one table,depending on user input
    By interested in forum Excel General
    Replies: 8
    Last Post: 07-23-2012, 05:13 PM
  5. Adding rows depending on user input
    By haitham1984 in forum Excel General
    Replies: 0
    Last Post: 11-10-2008, 07:30 AM
  6. Adding Rows depending on user input
    By haitham1984 in forum Excel General
    Replies: 0
    Last Post: 11-09-2008, 02:35 AM
  7. Adding conditional formating depending on user input.
    By haitham1984 in forum Excel General
    Replies: 1
    Last Post: 11-03-2008, 09:31 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