Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ed Anton
 
Posts: n/a
Default Using a second variable within a formula...

Hi,

Currently I am using this formula:

=IF('Raw Data Sheet'!V6=0,"Spot Cost",'Raw Data Sheet'!V6*100)

Which returns 'Spot Cost' if the value of V6 on the raw data sheet is zero
or a multiple of 100 if it is greater than zero. This is fine.

The problem I have however, is when the value of 'V6' is blank (i.e. just a
space or no data entered) my return from the formula is '#VALUE!' and I need
to create a caveat within the formula to cover it. For example, if the value
of V6 is blank then ideally I would like a return of 'Spot Cost'.

How would I go about doing this? Any help would be really really appreciated.

Kind regards,

Ed.
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

=IF(OR('Raw Data Sheet'!V6=0,'Raw Data Sheet'!
V6=""),"Spot Cost",'Raw Data Sheet'!V6*100)

HTH
Jason
Atlanta, GA

-----Original Message-----
Hi,

Currently I am using this formula:

=IF('Raw Data Sheet'!V6=0,"Spot Cost",'Raw Data Sheet'!

V6*100)

Which returns 'Spot Cost' if the value of V6 on the raw

data sheet is zero
or a multiple of 100 if it is greater than zero. This is

fine.

The problem I have however, is when the value of 'V6' is

blank (i.e. just a
space or no data entered) my return from the formula

is '#VALUE!' and I need
to create a caveat within the formula to cover it. For

example, if the value
of V6 is blank then ideally I would like a return

of 'Spot Cost'.

How would I go about doing this? Any help would be

really really appreciated.

Kind regards,

Ed.
.

  #3   Report Post  
Ed Anton
 
Posts: n/a
Default

Thanks - much appreciated.

"Jason Morin" wrote:

=IF(OR('Raw Data Sheet'!V6=0,'Raw Data Sheet'!
V6=""),"Spot Cost",'Raw Data Sheet'!V6*100)

HTH
Jason
Atlanta, GA

-----Original Message-----
Hi,

Currently I am using this formula:

=IF('Raw Data Sheet'!V6=0,"Spot Cost",'Raw Data Sheet'!

V6*100)

Which returns 'Spot Cost' if the value of V6 on the raw

data sheet is zero
or a multiple of 100 if it is greater than zero. This is

fine.

The problem I have however, is when the value of 'V6' is

blank (i.e. just a
space or no data entered) my return from the formula

is '#VALUE!' and I need
to create a caveat within the formula to cover it. For

example, if the value
of V6 is blank then ideally I would like a return

of 'Spot Cost'.

How would I go about doing this? Any help would be

really really appreciated.

Kind regards,

Ed.
.


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
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
revert formula insertion to old method Don't be a pain in the ass Setting up and Configuration of Excel 0 January 24th 05 01:49 PM
Relative Indirect Formula Referencing? Damian Excel Worksheet Functions 1 January 7th 05 04:16 AM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


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

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"