+ Reply to Thread
Results 1 to 4 of 4

Programming Hotkey for open ended formula

  1. #1
    Registered User
    Join Date
    06-23-2021
    Location
    Pennsylvania,USA
    MS-Off Ver
    2016
    Posts
    5

    Programming Hotkey for open ended formula

    Hello,

    I'm summing filtered data and in order to do this I am using the formula =SUBTOTAL(9,"range of data"). I'm doing this repeatedly and each time typing in "subt" then hitting tab to autofill, then hitting "9," then selecting my range of cells in my filtered data that I want totaled then hitting enter.

    What I would like to be able to do is program a hotkey that automatically gives me the following when pressed: [=SUBTOTAL(9,] so that I can hit the hotkey then select my data and hit enter versus having to repeatedly type out "subt" and hit tab, then "9" then "," before I select my data range.

    I tried recording a macro, but it wouldn't let me do that with the open ended "=SUBTOTAL(9," formula I was typing.

    Thank you for the help.
    Last edited by blevinsj; 06-24-2021 at 10:54 AM.

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Programming Hotkey for open ended formula

    Welcome to the forum.

    The best I can suggest is to use Autocorrect.
    This won't give you a single-key entry, but should be quicker than what you're doing at the moment.
    Make a new entry with this in the 'Replace:' box: =s
    and this in the 'With:' box: =SUBTOTAL(9
    Once you've OK'd out, if you type =s then comma, Excel should change that to =SUBTOTAL(9, after which you can select your range, type the final bracket then Enter.

    Don't try to include the comma in the 'With:' box, as it's that which makes Excel apply the Autocorrect.

    Hope that helps.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  3. #3
    Registered User
    Join Date
    06-23-2021
    Location
    Pennsylvania,USA
    MS-Off Ver
    2016
    Posts
    5

    Re: Programming Hotkey for open ended formula

    This will help. Thank you!

  4. #4
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Programming Hotkey for open ended formula

    You're welcome, glad I could help - even if it wasn't quite the solution you hoped for.
    However, if you're satisfied that your question has been answered, then please take a moment to mark the thread as Solved so others know there's an answer here (instructions are in my sig). Thanks.

+ 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. front-ended back ended volume scenarios
    By freshfruit in forum Excel General
    Replies: 1
    Last Post: 01-30-2014, 05:18 PM
  2. [SOLVED] vlookup use with open ended range and array?
    By BoydRed in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-21-2014, 01:28 PM
  3. How do you make an open-ended/dynamic range?
    By kestefon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-13-2013, 01:36 PM
  4. Open-ended list validation
    By m.cain in forum Excel General
    Replies: 1
    Last Post: 02-11-2008, 08:25 PM
  5. Open ended Data Validation List
    By ChemistB in forum Excel General
    Replies: 1
    Last Post: 12-11-2007, 05:40 PM
  6. Average of open-ended column, within given intervals
    By chlor in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 10-03-2006, 10:58 AM
  7. Open Ended VBA Criteria
    By SamuelT in forum Excel General
    Replies: 8
    Last Post: 10-02-2006, 09:42 AM
  8. [SOLVED] Need open ended cell for Sum range.
    By Cris B. in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-14-2005, 12:05 PM

Tags for this Thread

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