Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default OR function in a SEARCH not working

This is my formula
=IF(ISERR((SEARCH($N$2,OR($D54,$F54),1)0)),0,IF($ G540,$G54,$H54))

At the moment the OR function doesn't seem to work, i.e. when i run a test i
get zero - any ideas please
The search is referring to text in a header cell and searches 2 cells in
different columns containing text for the same string (not case sensitive)
amongst the entire content. Provided there is no error it then displays the
figure which appears in either colum G or H.
Well, it should!!

TIA
Chris


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,726
Default OR function in a SEARCH not working

=IF(OR(ISNUMBER(SEARCH($N$2,$D54)),ISNUMBER(SEARCH ($N$2,$F54))),IF($G540,$G54,$H54),0)

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Tester" wrote in message
...
This is my formula
=IF(ISERR((SEARCH($N$2,OR($D54,$F54),1)0)),0,IF($ G540,$G54,$H54))

At the moment the OR function doesn't seem to work, i.e. when i run a test
i get zero - any ideas please
The search is referring to text in a header cell and searches 2 cells in
different columns containing text for the same string (not case sensitive)
amongst the entire content. Provided there is no error it then displays
the figure which appears in either colum G or H.
Well, it should!!

TIA
Chris



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
SEARCH function within IF function tom Setting up and Configuration of Excel 4 October 2nd 06 08:35 PM
numerical integration integreat Excel Discussion (Misc queries) 4 May 12th 06 02:40 AM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Sum function not working, help please! trickdigger Excel Worksheet Functions 2 April 9th 06 03:04 AM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM


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