Prev Previous Post   Next Post Next
  #1   Report Post  
contrarian
 
Posts: n/a
Default IF statement(?)


Hi,
I'm wondering if some kind person might be able to help with a problem
I have in putting together the correct "IF" statement. I'll try and be
as clear as possible (what I'm actually trying to accmplish is pretty
simple - but I can't get the formula right):

(a) Column A has numbers
(b) Column B has numbers

In the calculation column (say, column C will do!) I want it to look at
a few conditions, and if met, put a word in that column (say, "fish"!)

Let's start down the list a little way in cell C6, because it refers
back to 5 numbers in column B and 1 number in column C.

Okay, these are the simple conditions: (remember, we're starting in
cell C6)

(1) If B6 is greater than B5
(2) And B6 is also greater than A5 (next door)
(2) And B6 is also less than B4, less than B3, less than B2 and less
than B1

Then put the word "FISH" there.

I do not want it to put anything if those conditions are not met.

Does anyone know how to write the correct IF statement to do this?

(Please note: if it MUST say something when the conditions are not met,
I can live with that).

Thanking you heaps,
Steve


--
contrarian
------------------------------------------------------------------------
contrarian's Profile: http://www.excelforum.com/member.php...o&userid=10009
View this thread: http://www.excelforum.com/showthread...hreadid=472085

 
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 statement Matt Montagliano Excel Discussion (Misc queries) 1 September 8th 05 08:47 PM
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM
IF Statement nightmare eugenevr Excel Discussion (Misc queries) 6 May 18th 05 01:09 PM
IF Statement Brent New Users to Excel 3 April 29th 05 04:24 PM
Statement lintan Excel Worksheet Functions 1 December 2nd 04 11:31 PM


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