Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Carole O
 
Posts: n/a
Default IF...VALUE formula - need help!

I move data (cell for cell) from EDITED to FORMAT worksheets. But in cell C,
I only want the data if the value in E equals any of the 7 options in the
formula. Otherwise I'd like 0. I'm getting 0 whether it equals the values
or not. What am I doing wrong?

I have this formula
=IF((OR(E2="In Collect",E2="In Design",E2="In Plate",E2="In Print",E2="Ready
To Collect",E2="Ready To Design",E2="Ready to Print")),VALUE(EDITED!C2),0)


TIA,
Carole O

  #2   Report Post  
IC
 
Posts: n/a
Default

I pasted your formula into Sheet1!A1 in a new sheet, renamed Sheet2 as
EDITED, typed 27 in EDITED!C2 and typed In Collect in Sheet1!E2. A1 changed
to 27. I then changed Sheet1!E2 to something not in your list and A1 changed
to 0.

In other words, the formula works fine here. One thought, I assume E2
contains eg In Collect, not "In Collect".

Ian

"Carole O" wrote in message
...
I move data (cell for cell) from EDITED to FORMAT worksheets. But in cell
C,
I only want the data if the value in E equals any of the 7 options in the
formula. Otherwise I'd like 0. I'm getting 0 whether it equals the
values
or not. What am I doing wrong?

I have this formula
=IF((OR(E2="In Collect",E2="In Design",E2="In Plate",E2="In
Print",E2="Ready
To Collect",E2="Ready To Design",E2="Ready to Print")),VALUE(EDITED!C2),0)


TIA,
Carole O



  #3   Report Post  
Carole O
 
Posts: n/a
Default

Thanks, Ian - you gave me a hint. The data I want to move is Text (Yes, No).
I duplicted your suggestion (changed No to 1, and Yes to 2), and I got the
value of the cell. But - would I use 'value' to move text?

TIA,

Carole O

"IC" wrote:

I pasted your formula into Sheet1!A1 in a new sheet, renamed Sheet2 as
EDITED, typed 27 in EDITED!C2 and typed In Collect in Sheet1!E2. A1 changed
to 27. I then changed Sheet1!E2 to something not in your list and A1 changed
to 0.

In other words, the formula works fine here. One thought, I assume E2
contains eg In Collect, not "In Collect".

Ian

"Carole O" wrote in message
...
I move data (cell for cell) from EDITED to FORMAT worksheets. But in cell
C,
I only want the data if the value in E equals any of the 7 options in the
formula. Otherwise I'd like 0. I'm getting 0 whether it equals the
values
or not. What am I doing wrong?

I have this formula
=IF((OR(E2="In Collect",E2="In Design",E2="In Plate",E2="In
Print",E2="Ready
To Collect",E2="Ready To Design",E2="Ready to Print")),VALUE(EDITED!C2),0)


TIA,
Carole O




  #4   Report Post  
IC
 
Posts: n/a
Default

No, VALUE changes the text equivalent of a number to that number (eg Ten
becomes 10). If you are just moving text, then get rid of the VALUE part of
the formula (ie VALUE(EDITED!C2) becomes EDITED!C2. I think this should sort
the problem out.

Ian

"Carole O" wrote in message
...
Thanks, Ian - you gave me a hint. The data I want to move is Text (Yes,
No).
I duplicted your suggestion (changed No to 1, and Yes to 2), and I got the
value of the cell. But - would I use 'value' to move text?

TIA,

Carole O

"IC" wrote:

I pasted your formula into Sheet1!A1 in a new sheet, renamed Sheet2 as
EDITED, typed 27 in EDITED!C2 and typed In Collect in Sheet1!E2. A1
changed
to 27. I then changed Sheet1!E2 to something not in your list and A1
changed
to 0.

In other words, the formula works fine here. One thought, I assume E2
contains eg In Collect, not "In Collect".

Ian

"Carole O" wrote in message
...
I move data (cell for cell) from EDITED to FORMAT worksheets. But in
cell
C,
I only want the data if the value in E equals any of the 7 options in
the
formula. Otherwise I'd like 0. I'm getting 0 whether it equals the
values
or not. What am I doing wrong?

I have this formula
=IF((OR(E2="In Collect",E2="In Design",E2="In Plate",E2="In
Print",E2="Ready
To Collect",E2="Ready To Design",E2="Ready to
Print")),VALUE(EDITED!C2),0)


TIA,
Carole O






  #5   Report Post  
Carole O
 
Posts: n/a
Default

Thank you, Ian!! That was way too obvious!! (I'm taking an Excel VBA course
next month!!)

Carole O

"IC" wrote:

No, VALUE changes the text equivalent of a number to that number (eg Ten
becomes 10). If you are just moving text, then get rid of the VALUE part of
the formula (ie VALUE(EDITED!C2) becomes EDITED!C2. I think this should sort
the problem out.

Ian

"Carole O" wrote in message
...
Thanks, Ian - you gave me a hint. The data I want to move is Text (Yes,
No).
I duplicted your suggestion (changed No to 1, and Yes to 2), and I got the
value of the cell. But - would I use 'value' to move text?

TIA,

Carole O

"IC" wrote:

I pasted your formula into Sheet1!A1 in a new sheet, renamed Sheet2 as
EDITED, typed 27 in EDITED!C2 and typed In Collect in Sheet1!E2. A1
changed
to 27. I then changed Sheet1!E2 to something not in your list and A1
changed
to 0.

In other words, the formula works fine here. One thought, I assume E2
contains eg In Collect, not "In Collect".

Ian

"Carole O" wrote in message
...
I move data (cell for cell) from EDITED to FORMAT worksheets. But in
cell
C,
I only want the data if the value in E equals any of the 7 options in
the
formula. Otherwise I'd like 0. I'm getting 0 whether it equals the
values
or not. What am I doing wrong?

I have this formula
=IF((OR(E2="In Collect",E2="In Design",E2="In Plate",E2="In
Print",E2="Ready
To Collect",E2="Ready To Design",E2="Ready to
Print")),VALUE(EDITED!C2),0)


TIA,
Carole O









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 05:43 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"