Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Joining Two formulas with the Help of AND / OR / IF Functions to getthe desired result

Hi,

This is Akash Maheshwari. I am stuck with a formula and not able to
break through since last few days: I require your help in this
relates...

I have two Formulas:
=IF(D7="V Top 9702045619",AccountWiseReport!K5-F7+I7-J7+K7-G7-H7)
=IF(D7="V Top 9702043906",AccountWiseReport!K40-F7+I7-J7+K7-G7-H7)

What i want is if i select "V Top 9702045619" in the cell D7 the first
formula would run and viceversa if i select "V Top 9702043906" the
second formula should run. I want to combine the above mentioned two
formulas in such a way that i get the output in one cell.

How to combine the above mentioned two formulas with OR & AND function
with the help of IF function.

Many Thanks in Advance

Akash Maheshwari
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Joining Two formulas with the Help of AND / OR / IF Functions to g

Something like this will do since you only have 2 choices.

=IF(D7="V Top 9702045619",AccountWiseReport!K5, AccountWiseReport!K40)
-F7+I7-J7+K7-G7-H7

--
HTH...

Jim Thomlinson


"Akash Maheshwari" wrote:

Hi,

This is Akash Maheshwari. I am stuck with a formula and not able to
break through since last few days: I require your help in this
relates...

I have two Formulas:
=IF(D7="V Top 9702045619",AccountWiseReport!K5-F7+I7-J7+K7-G7-H7)
=IF(D7="V Top 9702043906",AccountWiseReport!K40-F7+I7-J7+K7-G7-H7)

What i want is if i select "V Top 9702045619" in the cell D7 the first
formula would run and viceversa if i select "V Top 9702043906" the
second formula should run. I want to combine the above mentioned two
formulas in such a way that i get the output in one cell.

How to combine the above mentioned two formulas with OR & AND function
with the help of IF function.

Many Thanks in Advance

Akash Maheshwari
.

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
Which functions and Procedure to use to have desired result? Soham Excel Worksheet Functions 0 December 6th 09 10:23 AM
Formula to return desired Result MS-Exl-Learner Excel Discussion (Misc queries) 4 August 31st 09 06:11 PM
how to drop leading zero in 0.700? desired result is .700 KenK Excel Discussion (Misc queries) 2 October 19th 08 05:59 AM
Which numbers give desired result Studebaker Excel Discussion (Misc queries) 14 April 29th 08 09:22 PM
which function can get the desired result? ADK Excel Worksheet Functions 3 May 9th 07 03:10 PM


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