#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default conditional formulas

Hi All,
If anyone could help me, it would be appreciate. I have three columns with
numbers and text (see below).The result is in column B and C but I have not
be able to find a formula to show me a message that is wrong. If it is not
within the range the cell should be blank, otherwise the cell should be shown
a message €śwrong€ť. I am working in excel 2003

Thanks in advance

Column A Column B Colun C
data number text
100058-0020 =IF($A7<=7999,$A7,"") =IF($A7=8000,$A7,"")
CC3101 wrong
100069-0020 100069-0020
100072-0020 100072-0020
7040 7040
100312-0010 100312-0010
100313 100313
72101 wrong
100316-0010 100316-0010
100321-0010 100321-0010
7002 7002
7012 7012
X wrong

--
mcaicedo
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default conditional formulas

Is this what you are looking for,,,

In B2
=IF($A2<=7999,$A2,"")

In C2
=IF(AND(ISNUMBER($A2),A2=8000),$A2,"wrong")

If this post helps click Yes
---------------
Jacob Skaria


"mcaicedo" wrote:

Hi All,
If anyone could help me, it would be appreciate. I have three columns with
numbers and text (see below).The result is in column B and C but I have not
be able to find a formula to show me a message that is wrong. If it is not
within the range the cell should be blank, otherwise the cell should be shown
a message €śwrong€ť. I am working in excel 2003

Thanks in advance

Column A Column B Colun C
data number text
100058-0020 =IF($A7<=7999,$A7,"") =IF($A7=8000,$A7,"")
CC3101 wrong
100069-0020 100069-0020
100072-0020 100072-0020
7040 7040
100312-0010 100312-0010
100313 100313
72101 wrong
100316-0010 100316-0010
100321-0010 100321-0010
7002 7002
7012 7012
X wrong

--
mcaicedo

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default conditional formulas

It does not work in column C. It shows a message "wrong" and it should be
"100058-0020" as below. Thanks anyway for your help --
mcaicedo


"Jacob Skaria" wrote:

Is this what you are looking for,,,

In B2
=IF($A2<=7999,$A2,"")

In C2
=IF(AND(ISNUMBER($A2),A2=8000),$A2,"wrong")

If this post helps click Yes
---------------
Jacob Skaria


"mcaicedo" wrote:

Hi All,
If anyone could help me, it would be appreciate. I have three columns with
numbers and text (see below).The result is in column B and C but I have not
be able to find a formula to show me a message that is wrong. If it is not
within the range the cell should be blank, otherwise the cell should be shown
a message €śwrong€ť. I am working in excel 2003

Thanks in advance

Column A Column B Colun C
data number text
100058-0020 =IF($A7<=7999,$A7,"") =IF($A7=8000,$A7,"")
CC3101 wrong
100069-0020 100069-0020
100072-0020 100072-0020
7040 7040
100312-0010 100312-0010
100313 100313
72101 wrong
100316-0010 100316-0010
100321-0010 100321-0010
7002 7002
7012 7012
X wrong

--
mcaicedo

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default conditional formulas

Hi Jacob,
I have changed the formula to: =IF(AND(ISNUMBER($A1),$A1<=7999),"",$A1) but
now row 2 shows CC3101 and it should be "wrong", Rows 8 and 13 should be
€śwrong€ť as well --
mcaicedo


"mcaicedo" wrote:

It does not work in column C. It shows a message "wrong" and it should be
"100058-0020" as below. Thanks anyway for your help --
mcaicedo


"Jacob Skaria" wrote:

Is this what you are looking for,,,

In B2
=IF($A2<=7999,$A2,"")

In C2
=IF(AND(ISNUMBER($A2),A2=8000),$A2,"wrong")

If this post helps click Yes
---------------
Jacob Skaria


"mcaicedo" wrote:

Hi All,
If anyone could help me, it would be appreciate. I have three columns with
numbers and text (see below).The result is in column B and C but I have not
be able to find a formula to show me a message that is wrong. If it is not
within the range the cell should be blank, otherwise the cell should be shown
a message €śwrong€ť. I am working in excel 2003

Thanks in advance

Column A Column B Colun C
data number text
100058-0020 =IF($A7<=7999,$A7,"") =IF($A7=8000,$A7,"")
CC3101 wrong
100069-0020 100069-0020
100072-0020 100072-0020
7040 7040
100312-0010 100312-0010
100313 100313
72101 wrong
100316-0010 100316-0010
100321-0010 100321-0010
7002 7002
7012 7012
X wrong

--
mcaicedo

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default conditional formulas

Sorry, I am a bit confused on what you are looking for.

ISNUMBER() function returns true or false
ISTEXT() validates a text string and returns true or false

You can have multiple conditions with AND() to validate

If you need help post back with sample data and expected
answers in ColB and ColC..The current example seems to be messed up with the
formulas....

If this post helps click Yes
---------------
Jacob Skaria


"mcaicedo" wrote:

Hi Jacob,
I have changed the formula to: =IF(AND(ISNUMBER($A1),$A1<=7999),"",$A1) but
now row 2 shows CC3101 and it should be "wrong", Rows 8 and 13 should be
€śwrong€ť as well --
mcaicedo


"mcaicedo" wrote:

It does not work in column C. It shows a message "wrong" and it should be
"100058-0020" as below. Thanks anyway for your help --
mcaicedo


"Jacob Skaria" wrote:

Is this what you are looking for,,,

In B2
=IF($A2<=7999,$A2,"")

In C2
=IF(AND(ISNUMBER($A2),A2=8000),$A2,"wrong")

If this post helps click Yes
---------------
Jacob Skaria


"mcaicedo" wrote:

Hi All,
If anyone could help me, it would be appreciate. I have three columns with
numbers and text (see below).The result is in column B and C but I have not
be able to find a formula to show me a message that is wrong. If it is not
within the range the cell should be blank, otherwise the cell should be shown
a message €śwrong€ť. I am working in excel 2003

Thanks in advance

Column A Column B Colun C
data number text
100058-0020 =IF($A7<=7999,$A7,"") =IF($A7=8000,$A7,"")
CC3101 wrong
100069-0020 100069-0020
100072-0020 100072-0020
7040 7040
100312-0010 100312-0010
100313 100313
72101 wrong
100316-0010 100316-0010
100321-0010 100321-0010
7002 7002
7012 7012
X wrong

--
mcaicedo



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default conditional formulas

Hi Jacob,
Thanks for your reply. Below is what I am expecting:

Column A Column B Column C
100058-0020 100058-0020
CC3101 wrong
100069-0020 100069-0020
100072-0020 100072-0020
7040 7040
100312-0010 100312-0010
100313 100313
72101 wrong
100316-0010 100316-0010
100321-0010 100321-0010
7002 7002
7012 7012
X wrong

Many thanks,--
mcaicedo


"Jacob Skaria" wrote:

Sorry, I am a bit confused on what you are looking for.

ISNUMBER() function returns true or false
ISTEXT() validates a text string and returns true or false

You can have multiple conditions with AND() to validate

If you need help post back with sample data and expected
answers in ColB and ColC..The current example seems to be messed up with the
formulas....

If this post helps click Yes
---------------
Jacob Skaria


"mcaicedo" wrote:

Hi Jacob,
I have changed the formula to: =IF(AND(ISNUMBER($A1),$A1<=7999),"",$A1) but
now row 2 shows CC3101 and it should be "wrong", Rows 8 and 13 should be
€śwrong€ť as well --
mcaicedo


"mcaicedo" wrote:

It does not work in column C. It shows a message "wrong" and it should be
"100058-0020" as below. Thanks anyway for your help --
mcaicedo


"Jacob Skaria" wrote:

Is this what you are looking for,,,

In B2
=IF($A2<=7999,$A2,"")

In C2
=IF(AND(ISNUMBER($A2),A2=8000),$A2,"wrong")

If this post helps click Yes
---------------
Jacob Skaria


"mcaicedo" wrote:

Hi All,
If anyone could help me, it would be appreciate. I have three columns with
numbers and text (see below).The result is in column B and C but I have not
be able to find a formula to show me a message that is wrong. If it is not
within the range the cell should be blank, otherwise the cell should be shown
a message €śwrong€ť. I am working in excel 2003

Thanks in advance

Column A Column B Colun C
data number text
100058-0020 =IF($A7<=7999,$A7,"") =IF($A7=8000,$A7,"")
CC3101 wrong
100069-0020 100069-0020
100072-0020 100072-0020
7040 7040
100312-0010 100312-0010
100313 100313
72101 wrong
100316-0010 100316-0010
100321-0010 100321-0010
7002 7002
7012 7012
X wrong

--
mcaicedo

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
If, and, or conditional formulas together Chipper Excel Worksheet Functions 4 August 14th 08 06:36 PM
conditional formulas jpj1 Excel Worksheet Functions 2 February 7th 08 07:19 PM
if and conditional formulas Newsgal Excel Worksheet Functions 2 December 20th 07 11:54 PM
Conditional Formulas Craig Koon Excel Worksheet Functions 3 August 25th 06 12:26 AM
Conditional formulas with sum and if jackie Excel Discussion (Misc queries) 4 October 4th 05 06:44 PM


All times are GMT +1. The time now is 12:20 AM.

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"