+ Reply to Thread
Results 1 to 2 of 2

Formulas to calculate off of a pivot table?

  1. #1
    Registered User
    Join Date
    02-24-2010
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2003
    Posts
    51

    Formulas to calculate off of a pivot table?

    Since a pivot table changes in size, I can't use a formula referencing a specific cell. I'm trying to figure out a way to write a formula that will seach a column of a pivot table for a specific text string, and if it exists, use the value in the next cell in a calculation. The pivot table has two columns and resides in column L and M.

    So basically, what formula would I use if the word "Special" is found anywhere in COLUMN L of a pivot table, and if so, it will take the value found in the next cell in COLUMN M, and divide it by the value found in J25.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Formulas to calculate off of a pivot table?

    =Vlookup("Special",L:M,2,0)/J25

    or

    =Vlookup("*Special*,L:M,2,0)/J25 if Special is part of a string of other words/chars...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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