ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Combination to Two formulas with the Help of AND / OR / IF Functions (https://www.excelbanter.com/excel-programming/442054-combination-two-formulas-help-if-functions.html)

Akash

Combination to Two formulas with the Help of AND / OR / IF Functions
 
Hi,

This is Akash Maheshwari, a frequent user of your group. I had querry
which i m not able to break through since last few days:

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.


Jacob Skaria

Combination to Two formulas with the Help of AND / OR / IF Functio
 
Copy paste the below and apply to the cell....

=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,""))

--
Jacob (MVP - Excel)


"Akash" wrote:

Hi,

This is Akash Maheshwari, a frequent user of your group. I had querry
which i m not able to break through since last few days:

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.

.



All times are GMT +1. The time now is 08:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com