Results 1 to 34 of 34

Possible to create a macro which autofilter for example +/- 2.0 relative to a given value?

Threaded View

Elijah Possible to create a macro... 10-09-2018, 01:16 AM
Elijah Re: Possible to create a... 10-09-2018, 05:08 PM
Pete_UK Re: Possible to create a... 10-09-2018, 05:30 PM
Elijah Re: Possible to create a... 10-10-2018, 07:23 AM
jindon Re: Possible to create a... 10-10-2018, 07:38 AM
Elijah Re: Possible to create a... 10-10-2018, 08:51 AM
jindon Re: Possible to create a... 10-10-2018, 10:16 AM
Elijah Re: Possible to create a... 10-10-2018, 04:00 PM
jindon Re: Possible to create a... 10-10-2018, 06:34 PM
Elijah Re: Possible to create a... 10-11-2018, 06:47 AM
jindon Re: Possible to create a... 10-11-2018, 07:50 AM
Elijah Re: Possible to create a... 10-11-2018, 08:08 AM
jindon Re: Possible to create a... 10-11-2018, 08:46 AM
contactforinfo Re: Possible to create a... 10-11-2018, 08:55 AM
Elijah Re: Possible to create a... 10-12-2018, 09:12 AM
jindon Re: Possible to create a... 10-12-2018, 09:18 AM
Elijah Re: Possible to create a... 10-12-2018, 03:29 PM
jindon Re: Possible to create a... 10-12-2018, 07:29 PM
Elijah Re: Possible to create a... 10-13-2018, 04:52 PM
mohan.r1980 Re: Possible to create a... 10-23-2018, 10:51 AM
Elijah Re: Possible to create a... 10-23-2018, 03:27 PM
mohan.r1980 Re: Possible to create a... 10-24-2018, 02:45 AM
Elijah Re: Possible to create a... 10-16-2018, 04:12 PM
Elijah Re: Possible to create a... 10-21-2018, 12:30 PM
Elijah Re: Possible to create a... 10-23-2018, 10:03 AM
Elijah Re: Possible to create a... 10-24-2018, 11:28 AM
Elijah Re: Possible to create a... 10-24-2018, 11:39 AM
jindon Re: Possible to create a... 10-24-2018, 11:57 AM
Elijah Re: Possible to create a... 10-25-2018, 07:40 AM
Elijah Re: Possible to create a... 10-26-2018, 08:13 AM
xladept Re: Possible to create a... 11-02-2018, 06:37 PM
Elijah Re: Possible to create a... 11-03-2018, 07:22 AM
xladept Re: Possible to create a... 11-03-2018, 11:12 AM
Elijah Re: Possible to create a... 11-03-2018, 02:17 PM
  1. #1
    Forum Contributor
    Join Date
    03-31-2010
    Location
    Norway
    MS-Off Ver
    Excel 365
    Posts
    632

    Possible to create a macro which autofilter for example +/- 2.0 relative to a given value?

    Hi all,

    I'm doing a lot of filtering of various tables lately and find myself wondering if there's faster ways to do it?

    Typically, I'm interested in filtering values that are similar to the one I'm currently looking at (or have as my selected cell inside a range). What's similar is a subjective question I suppose, but if I'm looking at the numerical value "-9.25" I'd typically filter values that are + 2.0 points above/below.

    So, I'd filter using the Between function that's built in the tables. This means that I first have to do the mental arithmetic of what's +/- 2.0 relative to my chosen number (-7,25 & -11,25). Finally, I have to enter it using my keyboard. This takes time.

    Would it be possible to create a macro that does this on the fly? The filter value (+/-) could be user adjusted inside the macro or relative to a cell value. The first is perhaps easier and best.

    I'd be interested in doing the same with time data (+/- 30 minutes), but I'd imagine there'd be no difference.

    Uten navn.png

    Thanks in advance for all and any help!

    Elijah
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Create bulk relative hyperlinks
    By Adam10541 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 06-27-2016, 09:15 AM
  2. How to create macro to add data based on relative data?
    By tinyshot in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-08-2014, 09:20 AM
  3. Macro to AutoFilter create PDF/Mail and copy selected data to Template Excel file
    By iancoupal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2014, 05:47 PM
  4. create macro relative to button location
    By edgonzo101 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-28-2012, 03:17 PM
  5. Create macro to insert rows relative to the value
    By ofranco in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-03-2012, 04:19 PM
  6. Relative Autofilter using Named Ranges
    By BA99 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-24-2007, 06:34 PM
  7. How do I create a macro with relative address?
    By Demokritos in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-19-2005, 11:06 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