Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Alternative for "IF" condition

I need a formula for the following scenario

GROUP TYPE "A" AMOUNT "B" AMOUNT WHERE

A C 2 0 C
CUT 2
B P 0 3 P
PASTE 3

this is the way i work with my work sheet
the formula i hav been using till now is
=IF(AND(A9="A",B9="C"),G9.IF(AND(A9="A",B9="P"),G1 0,0))
I use this formula under "A" AMOUNT considering the row as 9.
and the same for the "B" AMOUNT jut by placing "B" at the place of "A" in
the formula.
But the problem here is I am able to use this formula only for 7 functions.
But now i am having about 35 functions and i am unabel to use this formula.
Can u please suggest me the alternative function and syntax.
(can i use LOOKUP for this)
Please reply me.
thank u.
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Alternative for "IF" condition

extend this

=IF(AND(A9="A",B9="C"),G9,"")&IF(AND(A9="A",B9="P" ),G10,"")

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Nandu" wrote in message
...
I need a formula for the following scenario

GROUP TYPE "A" AMOUNT "B" AMOUNT WHERE

A C 2 0 C
CUT 2
B P 0 3 P
PASTE 3

this is the way i work with my work sheet
the formula i hav been using till now is
=IF(AND(A9="A",B9="C"),G9.IF(AND(A9="A",B9="P"),G1 0,0))
I use this formula under "A" AMOUNT considering the row as 9.
and the same for the "B" AMOUNT jut by placing "B" at the place of "A" in
the formula.
But the problem here is I am able to use this formula only for 7

functions.
But now i am having about 35 functions and i am unabel to use this

formula.
Can u please suggest me the alternative function and syntax.
(can i use LOOKUP for this)
Please reply me.
thank u.



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
Displaying a number with different decimals depending on a condition JGarces Excel Worksheet Functions 1 August 16th 06 05:37 PM
Need help with a Multiply Dependent One Cell Formula derekblain Excel Worksheet Functions 11 August 12th 06 02:59 AM
3 logical condition if statement Mikehughes Excel Worksheet Functions 3 July 19th 06 01:59 PM
conditional formatting - multiple condition jenhow Excel Discussion (Misc queries) 5 August 17th 05 02:45 PM
Condition IF Jeff Excel Discussion (Misc queries) 3 February 15th 05 10:19 PM


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