+ Reply to Thread
Results 1 to 2 of 2

Vlookup for filtered data

  1. #1
    Registered User
    Join Date
    03-04-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    1

    Vlookup for filtered data

    Hello,

    I need help with a VBA code. I have a pivot table and I want to use vlookups. When I filter data I want the Vlookup formulas only to appear for the certain rows which return a value. For example if I filter by company that company has 20 products and I want the vlookups to show up for these 20, but another company has only 1 product so the vlookup needs to adjust to 1 row only.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,885

    Re: Vlookup for filtered data

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. VLOOKUP For Filtered Data
    By Macro Fool in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-14-2016, 03:47 PM
  2. Vlookup in Filtered Data
    By naveenmarapaka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2014, 09:45 AM
  3. VLookup changes reference row when source data is filtered
    By ilantia in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-14-2013, 10:09 PM
  4. How to perform vlookup on filtered data
    By Menaka in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-30-2013, 03:25 AM
  5. VLOOKUP displays filtered data.
    By gsf314 in forum Excel General
    Replies: 2
    Last Post: 06-16-2012, 01:11 PM
  6. using VLookup on filtered data
    By vindieselgal in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-16-2011, 06:26 AM
  7. Using Vlookup in filtered data
    By gimmemo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-26-2006, 04:04 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