Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Pivot Calculated Field -If Statments

Hello,

I know 'If' statments can be used in Calculated Fields of pivot tables where
the result is a number. However is there a way the result can be text? e.g.
if(x.15,"Fail","Pass")

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default Pivot Calculated Field -If Statments

It depends what x is, but maybe you could use a custom number format for
the data field.
Double-click on the field button, and click the Number button
For Category, choose Custom
In the Text box, type:
[.15]"Fail";[<=.15]"Pass";General

David127 wrote:
I know 'If' statments can be used in Calculated Fields of pivot tables where
the result is a number. However is there a way the result can be text? e.g.
if(x.15,"Fail","Pass")



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Pivot Calculated Field -If Statments

Hi Debra - This worked great. Thanks!

"Debra Dalgleish" wrote:

It depends what x is, but maybe you could use a custom number format for
the data field.
Double-click on the field button, and click the Number button
For Category, choose Custom
In the Text box, type:
[.15]"Fail";[<=.15]"Pass";General

David127 wrote:
I know 'If' statments can be used in Calculated Fields of pivot tables where
the result is a number. However is there a way the result can be text? e.g.
if(x.15,"Fail","Pass")



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I remove a Calculated Field from the Pivot Table field list TheTraveler Excel Discussion (Misc queries) 2 April 9th 10 06:55 PM
Pivot table, IF function, calculated item versus calculated field NomadPurple Excel Discussion (Misc queries) 1 March 9th 10 03:17 PM
Calculated Field and Calculated Item in Pivot Table Fred Smith Excel Discussion (Misc queries) 0 March 4th 07 08:15 PM
Pivot Table Formulas Calculated Item / Calculated Field Vikram Dhemare Excel Programming 2 October 10th 06 08:45 AM
pivot table formulas for calculated field or calculated item Vicky Excel Discussion (Misc queries) 3 June 6th 06 05:06 AM


All times are GMT +1. The time now is 10:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"