Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 57
Default Wildcard for any number in conditional formula

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Wildcard for any number in conditional formula

=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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Wildcard for any number in conditional formula

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 57
Default Wildcard for any number in conditional formula

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Wildcard for any number in conditional formula

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
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
Wildcard for Conditional Sum Wizard statement. Ron Excel Worksheet Functions 3 February 13th 07 02:59 PM
Excel Conditional Formating using 'like' or wildcard logicals LDUNN1 Excel Worksheet Functions 0 October 23rd 06 11:30 AM
calculating wtd number with conditional array formula nacholibre Excel Discussion (Misc queries) 4 October 20th 06 09:26 PM
Wildcard IF formula Goh Han Excel Worksheet Functions 3 April 12th 06 06:22 PM
Countif using Wildcard * and number 1 southdaytona Excel Worksheet Functions 4 November 3rd 05 05:41 PM


All times are GMT +1. The time now is 10:35 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"