Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Steve
 
Posts: n/a
Default Combining IF AND & FIND Functions

Hi all

I've been trying to solve this one for a week and am just getting nowhere,
any help would be greatly appreciated.

I have a list of shops in column A and a list of total sales figures in
column B, Some of the shops in Column A are chains and so have multiple
entries (think WH Smiths, Borders etc...). I'm trying to write a formula that
will check to see if the Characters WHS are in column A and see if the figure
in Column B is greater than 15000, and if so enter "Sales OK" otherwise enter
"NON Chain". The best I could come up with is
=if(and(find("WHS*",a2)b215000,"Sales OK","NON Chain")) but it doesn't work.
Help!!!!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Combining IF AND & FIND Functions

Hi

Try this:
=IF(AND(ISNUMBER(FIND("WHS",A2)),B215000),"Sales OK","NON Chain")
Please note that FIND is case-sensitive, so WHS must be in capitals.

Andy.


"Steve" wrote in message
...
Hi all

I've been trying to solve this one for a week and am just getting nowhere,
any help would be greatly appreciated.

I have a list of shops in column A and a list of total sales figures in
column B, Some of the shops in Column A are chains and so have multiple
entries (think WH Smiths, Borders etc...). I'm trying to write a formula
that
will check to see if the Characters WHS are in column A and see if the
figure
in Column B is greater than 15000, and if so enter "Sales OK" otherwise
enter
"NON Chain". The best I could come up with is
=if(and(find("WHS*",a2)b215000,"Sales OK","NON Chain")) but it doesn't
work.
Help!!!!!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Steve
 
Posts: n/a
Default Combining IF AND & FIND Functions

Thanks Andy, ISNUMBER hadn't entered my thoughts - that works

Steve

"Andy" wrote:

Hi

Try this:
=IF(AND(ISNUMBER(FIND("WHS",A2)),B215000),"Sales OK","NON Chain")
Please note that FIND is case-sensitive, so WHS must be in capitals.

Andy.


"Steve" wrote in message
...
Hi all

I've been trying to solve this one for a week and am just getting nowhere,
any help would be greatly appreciated.

I have a list of shops in column A and a list of total sales figures in
column B, Some of the shops in Column A are chains and so have multiple
entries (think WH Smiths, Borders etc...). I'm trying to write a formula
that
will check to see if the Characters WHS are in column A and see if the
figure
in Column B is greater than 15000, and if so enter "Sales OK" otherwise
enter
"NON Chain". The best I could come up with is
=if(and(find("WHS*",a2)b215000,"Sales OK","NON Chain")) but it doesn't
work.
Help!!!!!




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Combining IF AND & FIND Functions

Thanks for the feedback!

Andy.

"Steve" wrote in message
...
Thanks Andy, ISNUMBER hadn't entered my thoughts - that works

Steve

"Andy" wrote:

Hi

Try this:
=IF(AND(ISNUMBER(FIND("WHS",A2)),B215000),"Sales OK","NON Chain")
Please note that FIND is case-sensitive, so WHS must be in capitals.

Andy.


"Steve" wrote in message
...
Hi all

I've been trying to solve this one for a week and am just getting
nowhere,
any help would be greatly appreciated.

I have a list of shops in column A and a list of total sales figures in
column B, Some of the shops in Column A are chains and so have multiple
entries (think WH Smiths, Borders etc...). I'm trying to write a
formula
that
will check to see if the Characters WHS are in column A and see if the
figure
in Column B is greater than 15000, and if so enter "Sales OK" otherwise
enter
"NON Chain". The best I could come up with is
=if(and(find("WHS*",a2)b215000,"Sales OK","NON Chain")) but it doesn't
work.
Help!!!!!






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



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