#1   Report Post  
koba
 
Posts: n/a
Default Help with Formula


Hi

Could somebody please help me develop a formula for the following
problem

If cell A3 contains the letters HD and the price in cell D3 is lower
than the price in D2 display “BAD PRICE” other wise display “OK”.
Otherwise display “NOT HD” if the letters hd are not in the cell.

The references in the A cells will contain both letters and numbers
such as:
9000
9000HD
9000HDB
9151
9151HD

Please help

Much Appreciated

Andrew


--
koba
------------------------------------------------------------------------
koba's Profile: http://www.excelforum.com/member.php...o&userid=28639
View this thread: http://www.excelforum.com/showthread...hreadid=483024

  #2   Report Post  
RagDyer
 
Posts: n/a
Default Help with Formula

Try this:

=IF(ISNUMBER(SEARCH("HD",A3)),IF(D3<D2,"BAD PRICE","OK"),"NOT HD")

--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"koba" wrote in message
...

Hi

Could somebody please help me develop a formula for the following
problem

If cell A3 contains the letters HD and the price in cell D3 is lower
than the price in D2 display "BAD PRICE" other wise display "OK".
Otherwise display "NOT HD" if the letters hd are not in the cell.

The references in the A cells will contain both letters and numbers
such as:
9000
9000HD
9000HDB
9151
9151HD

Please help

Much Appreciated

Andrew


--
koba
------------------------------------------------------------------------
koba's Profile:

http://www.excelforum.com/member.php...o&userid=28639
View this thread: http://www.excelforum.com/showthread...hreadid=483024


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 formula? meris Excel Worksheet Functions 1 September 6th 05 07:14 AM
writing a formula for a colored value aaronwexler New Users to Excel 11 September 1st 05 03:11 PM
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 08:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"