Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Omar
 
Posts: n/a
Default if function checking for numerical data vs alpha characters

I am trying to use the getpivot data for an interactive spreadsheet. Some of
the getpivotdata functions that I am creating do not exist yet so I am
getting an error. (it is a live worksheet that gets modified daily). I
figured if I can create an IF statement to verify for numerical data, then
maybe I can bypass that error. Is there a way to check for numerical data.
This is what I am writing IF(getpivotdata(@#$%)=0 [this is where I would
want my numerical check], getpivotdata(@#$%), 0). Basically I want to
process a check to see if the getpivot data is a number. If it is not, then
I am assuming that it is an error and therefore the if statement would place
a 0. Is there any way to do this. I know I should be using ACCESS but we
don't have that available and I am trying everything I can with excel.

Thanks

Omar
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Miguel Zapico
 
Posts: n/a
Default if function checking for numerical data vs alpha characters

You may use the functions ISERROR, or ISNA, instead of a numeric calculation.
=IF(ISERROR(GETPIVOTDATA(@#$%)),0,GETPIVOTDATA(@#$ %))

Hope this helps,
Miguel.

"Omar" wrote:

I am trying to use the getpivot data for an interactive spreadsheet. Some of
the getpivotdata functions that I am creating do not exist yet so I am
getting an error. (it is a live worksheet that gets modified daily). I
figured if I can create an IF statement to verify for numerical data, then
maybe I can bypass that error. Is there a way to check for numerical data.
This is what I am writing IF(getpivotdata(@#$%)=0 [this is where I would
want my numerical check], getpivotdata(@#$%), 0). Basically I want to
process a check to see if the getpivot data is a number. If it is not, then
I am assuming that it is an error and therefore the if statement would place
a 0. Is there any way to do this. I know I should be using ACCESS but we
don't have that available and I am trying everything I can with excel.

Thanks

Omar

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
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Inserting a new line when external data changes Rental Man Excel Discussion (Misc queries) 0 January 11th 06 07:05 PM
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM
From several workbooks onto one excel worksheet steve Excel Discussion (Misc queries) 6 December 1st 05 08:03 AM
Using INDIRECT function to specify source data donesquire Charts and Charting in Excel 2 May 27th 05 03:53 AM


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

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

About Us

"It's about Microsoft Excel"