+ Reply to Thread
Results 1 to 3 of 3

RE: Formula to ignore specific text during cell reference from pivot data

Hybrid View

  1. #1
    Registered User
    Join Date
    10-06-2020
    Location
    Chennai
    MS-Off Ver
    2016
    Posts
    9

    RE: Formula to ignore specific text during cell reference from pivot data

    Hi All,


    I have a pivot table in my workbook and I am trying to pull data from pivot data column using cell reference. The source data will change, hence I need to extend the excel forumla to certain range.


    I need an formula that should ignore and return empty cell if it come across certain text in cell value from respective column. I have attached the sample data for your reference.


    The pivot range starts from column "A" and 4th Row. The formula which I have currently used is below:

    =IF(A4<>"",A4,"")

    This formula returns the cell value in column A and returns empty if no value in column A. But if any text like grandtotal and blank occurs, it is returning the same text. i have attached the sample screenshot for your reference.
    formula.PNG
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    08-12-2020
    Location
    Atlanta, Georgia
    MS-Off Ver
    Office 16
    Posts
    245

    Re: Formula to ignore specific text during cell reference from pivot data

    If "Grand Total" and "(blank)" the only text you will come across, use =IF(A4="(blank)","",IF(A4="Grand Total","",IF(A4<>"",A4,""))) If you have more texts you can add more "If"s.

  3. #3
    Registered User
    Join Date
    10-06-2020
    Location
    Chennai
    MS-Off Ver
    2016
    Posts
    9

    Re: Formula to ignore specific text during cell reference from pivot data

    Thanks Squeaky for your help

+ 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. Taking data from specific tab by using a reference text cell
    By rumpelstiltskin in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-19-2019, 04:14 AM
  2. Replies: 1
    Last Post: 03-20-2019, 05:12 PM
  3. Macro ignore specific text in a cell
    By aarona in forum Excel General
    Replies: 1
    Last Post: 02-07-2017, 07:20 AM
  4. [SOLVED] MATCH formula -- cell reference vs specific text?
    By Kanuck in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-22-2016, 06:52 PM
  5. [SOLVED] Cell reference formula that will ignore hidden rows
    By spreadsheetlackey in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-29-2015, 08:12 PM
  6. [SOLVED] Formula to find specific text in a cell from a reference table?
    By larrens in forum Excel General
    Replies: 14
    Last Post: 03-26-2012, 11:41 AM
  7. [SOLVED] Pivot table subtotal reference to specific cell
    By healthier in forum Excel General
    Replies: 1
    Last Post: 09-25-2008, 04:56 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