+ Reply to Thread
Results 1 to 3 of 3

Pivot on lookup formula results

  1. #1
    Registered User
    Join Date
    12-09-2008
    Location
    Chicago
    Posts
    13

    Pivot on lookup formula results

    Greetings to all!

    I am trying to run a pivot table with a column having results of vlookup formula.

    The vlookup formula on the base spreadsheet is :

    =LOOKUP(2^15,SEARCH({"Overdue","Red","PastY","Yellow","Green","Complete","No_BL"},$J2),{"01","02","03","04","05","06","07"})

    1st objective is for excel to read a column (J in this case) and populate the respective source cell column (I) with the appropriate number (from 01 thro 07).

    Subsequently, I am trying to run a pivot on this column (I) value (01 thro 07) to group the pivot table data.

    Unfortunately, pivot output is not picking any value from the source table column I, apparently due to the source cell format.

    If I manually convert the value in column I to the appropriate number (from 1 thro 7), pivot works fine. However, I would not prefer to reformat each record in column I source cell.

    Any advise on this issue?

    Thank you 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: Pivot on lookup formula results

    Try this...
    Formula: copy to clipboard
    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
    12-09-2008
    Location
    Chicago
    Posts
    13

    Re: Pivot on lookup formula results

    Hi Sixthsense,

    Thank you for the reply. Unfortunately, I am getting #N/A for some of the values (i.e. Green, Complete, No_BL). Not sure, why only some are giving this #N/A, whereas the remaining are showing some disconnect in the number mapping.

    Any advise?

    Thank you!
    Last edited by chetan.thakkar; 06-12-2013 at 10:46 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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