Calculation based on criterias..

Chaturvedi, Santosh 430 Reputation points
2026-06-25T12:40:10.62+00:00

Hello I want to caculate if the conditions applies as shown below.. How to mmake formulation with 2 condtions.

IFS(B7>C7," calculate with this formuala (1/(1-$B$2)", and

if C7>B7, calculate with this formula "1/(1+($G$70*(D701/C701)")

Please help me in this regard

Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments

Answer accepted by question author
Anonymous
2026-06-25T13:31:47.5333333+00:00

Hi @Chaturvedi, Santosh,

Thank you for posting your question in the Microsoft Q&A forum.

Based on your description, you'd like to apply two conditions in a single formula one when B7 > C7, and another when C7 > B7. For this scenario, you can try the formula below:

=IF(B7>C7, 1/(1-$B$2), IF(C7>B7, 1/(1+($G$70*(D701/C701))), ""))

This formula evaluates the first condition; if it's not met, it checks the second one. If neither condition applies (for example, when B7 = C7), it will return a blank cell.

Could you please confirm whether my understanding of your situation is correct? If I've misinterpreted any part, feel free to clarify. I want to make sure I fully understand your setup so I can provide the most accurate guidance.

If possible, could you also share a screenshot of what you're trying to calculate? (Feel free to hide any sensitive information.) That would help me get a clearer picture of your data layout.

Thank you again for your time and patience. I really appreciate it, and I'm here to help. Looking forward to your response.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".                 

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread   

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Newest

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.