Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello,
I'm trying to create a conditional formula that will highlight cell P17 if: a) there is a number (any number) in cell J17 AND b) there is a blank cell in O17 Using "Formula Is", I typed: =AND(J17=*,O17="""") J17 & O17 are numbers of any length--ex: 2,282.08 or 13.78 or 100,456.07--to represent invoice totals (they are custom #s). It's not working. I don't know if the 'AND' function is wrong or if it's the wildcard * I used to look for any number in J17. I tried the wildcard, # and [0-9], instead and they didn't work either. T. Valko's 2/14/08 post said that wildcards don't work for numbers but a website I went to said that any of those wildcards would work to find any numbers. This site was talking about it in the context of Find and Replace so maybe wildcards don't work the same in formulas (?). Can someone help? Thank you. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=AND(ISNUMBER(J17),O17="")
-- David Biddulph "Studebaker" wrote in message ... Hello, I'm trying to create a conditional formula that will highlight cell P17 if: a) there is a number (any number) in cell J17 AND b) there is a blank cell in O17 Using "Formula Is", I typed: =AND(J17=*,O17="""") J17 & O17 are numbers of any length--ex: 2,282.08 or 13.78 or 100,456.07--to represent invoice totals (they are custom #s). It's not working. I don't know if the 'AND' function is wrong or if it's the wildcard * I used to look for any number in J17. I tried the wildcard, # and [0-9], instead and they didn't work either. T. Valko's 2/14/08 post said that wildcards don't work for numbers but a website I went to said that any of those wildcards would work to find any numbers. This site was talking about it in the context of Find and Replace so maybe wildcards don't work the same in formulas (?). Can someone help? Thank you. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this for your formula:
=AND(ISNUMBER(J17),O17="") Hope this helps. Pete On Apr 7, 11:01*pm, Studebaker wrote: Hello, I'm trying to create a conditional formula that will highlight cell P17 if: a) there is a number (any number) in cell J17 AND b) there is a blank cell in O17 Using "Formula Is", I typed: =AND(J17=*,O17="""") J17 & O17 are numbers of any length--ex: 2,282.08 or 13.78 or 100,456.07--to represent invoice totals (they are custom #s). It's not working. I don't know if the 'AND' function is wrong or if it's the wildcard * I used to look for any number in J17. I tried the wildcard, # and [0-9], instead and they didn't work either. T. Valko's 2/14/08 post said that wildcards don't work for numbers but a website I went to said that any of those wildcards would work to find any numbers. This site was talking about it in the context of Find and Replace so maybe wildcards don't work the same in formulas (?). Can someone help? Thank you. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thank you and David, both. It worked!
"Pete_UK" wrote: Try this for your formula: =AND(ISNUMBER(J17),O17="") Hope this helps. Pete On Apr 7, 11:01 pm, Studebaker wrote: Hello, I'm trying to create a conditional formula that will highlight cell P17 if: a) there is a number (any number) in cell J17 AND b) there is a blank cell in O17 Using "Formula Is", I typed: =AND(J17=*,O17="""") J17 & O17 are numbers of any length--ex: 2,282.08 or 13.78 or 100,456.07--to represent invoice totals (they are custom #s). It's not working. I don't know if the 'AND' function is wrong or if it's the wildcard * I used to look for any number in J17. I tried the wildcard, # and [0-9], instead and they didn't work either. T. Valko's 2/14/08 post said that wildcards don't work for numbers but a website I went to said that any of those wildcards would work to find any numbers. This site was talking about it in the context of Find and Replace so maybe wildcards don't work the same in formulas (?). Can someone help? Thank you. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You're welcome - thanks for feeding back.
Pete On Apr 8, 2:28*pm, Studebaker wrote: Thank you and David, both. It worked! "Pete_UK" wrote: Try this for your formula: =AND(ISNUMBER(J17),O17="") Hope this helps. Pete On Apr 7, 11:01 pm, Studebaker wrote: Hello, I'm trying to create a conditional formula that will highlight cell P17 if: a) there is a number (any number) in cell J17 AND b) there is a blank cell in O17 Using "Formula Is", I typed: =AND(J17=*,O17="""") J17 & O17 are numbers of any length--ex: 2,282.08 or 13.78 or 100,456.07--to represent invoice totals (they are custom #s). It's not working. I don't know if the 'AND' function is wrong or if it's the wildcard * I used to look for any number in J17. I tried the wildcard, # and [0-9], instead and they didn't work either. T. Valko's 2/14/08 post said that wildcards don't work for numbers but a website I went to said that any of those wildcards would work to find any numbers. This site was talking about it in the context of Find and Replace so maybe wildcards don't work the same in formulas (?). Can someone help? Thank you.- Hide quoted text - - Show quoted text - |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Wildcard for Conditional Sum Wizard statement. | Excel Worksheet Functions | |||
Excel Conditional Formating using 'like' or wildcard logicals | Excel Worksheet Functions | |||
calculating wtd number with conditional array formula | Excel Discussion (Misc queries) | |||
Wildcard IF formula | Excel Worksheet Functions | |||
Countif using Wildcard * and number 1 | Excel Worksheet Functions |