Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default formula help reqd please

Hi there

I am having trouble trying to display result.

Basically say A1 has 10 in it and A2 has 5 in it A3 has the formula
A3 =sum(A1-A2) {answer =5}

What I want it do do is... say A4 displays HW as per the key.
so if A1 = 2 and A2 = 7 A3 answer is -5 - A4 then displays AD and so on

the key
0 to 3 = HD
4 + = HW
-1 to -5 = AD
-6 + = AW

Any help gratefully appreciated.

cheers
Paul
PS: I have posted in excel worksheet function forum too.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 538
Default formula help reqd please

On Fri, 18 Jun 2004 10:23:44 +0100, paul thomas wrote:

Hi there

I am having trouble trying to display result.

Basically say A1 has 10 in it and A2 has 5 in it A3 has the formula
A3 =sum(A1-A2) {answer =5}

What I want it do do is... say A4 displays HW as per the key.
so if A1 = 2 and A2 = 7 A3 answer is -5 - A4 then displays AD and so on

the key
0 to 3 = HD
4 + = HW
-1 to -5 = AD
-6 + = AW

Any help gratefully appreciated.

cheers
Paul
PS: I have posted in excel worksheet function forum too.


Try this (works for me):
=IF(A3=4,"HW",IF(A3=0,"HD",IF(A3=-5,"AD","AW")))

FWIW, I (personally) would change A3 to "=A1-A2".
--
auric underscore underscore at hotmail dot com
*****
This post is rated PG-13.
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
refer some letter from one cell(pipe/mech or mech/pipe (reqd: pi) PERANISH Excel Worksheet Functions 2 May 21st 09 10:19 AM
Codes Reqd. to create Loading Slip Vikram Dhemare Excel Discussion (Misc queries) 0 August 31st 07 08:46 AM
Columns Counting Function Reqd Debby Bunce Excel Worksheet Functions 2 August 19th 06 02:32 PM
Complicated sumproduct help reqd. Syed Excel Worksheet Functions 6 July 21st 05 04:57 AM
FORMULA REQD FOR ADD ING DATES AND VALUES AND PART NUMBERS ANDY CALLAGHAN Excel Discussion (Misc queries) 1 March 6th 05 10:35 PM


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