Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 220
Default excel formula writing question

If your values are listed in column A, use this formula in column B:

=IF(A1=0,"A",IF(AND(A10,A1<2.5),0,IF(AND(A1=2.5, A1<5),1,IF(A1=5,2))))

- Dan

craig phila wrote:
Im using Excel 2003 and I want to have the outcome in one cell contingent
upon the outcome in another. Let me explain:
 If cell A1 = 0, then cell A2 = A
 If A1 = greater than 0 but less than 2.50, then A2 = 0
 If A1 = 2.50 or greater than 2.50 but less than 5.00, then A2 = 1
 If A1 = 5.00 or greater, then A2 = 2

Is this doable? And if so, how is it set up?

--
craig phila


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
need help writing a formula in excel Marco New Users to Excel 1 March 26th 08 08:34 PM
Help writing an Excel Formula bella0711 Excel Worksheet Functions 4 September 9th 05 03:57 PM
question about Excel file writing and reading Albert Ge Excel Programming 2 April 25th 05 09:12 AM
Trouble writing an excel formula... Stumped by If Thens.... Excel Worksheet Functions 3 December 19th 04 02:39 PM
Writing Excel Formula To A Cell Nathan[_4_] Excel Programming 2 June 23rd 04 03:38 PM


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