Problem in combining two formula (If , And, OR)

Syed Kashif

New Member
Joined
Mar 3, 2023
Messages
6
Office Version
  1. 2021
Platform
  1. Windows
Hi, I am Syed Kashif new here please i need your helping

I am finding difficulty to combine both formula in one cell (F4 and F15)
Formula in F4 IF(OR(C4="L",C4="C",C4="R"),IF(B4="OP",E4-D4,F3+E4-D4),"")
Formula in F15 IF(OR(C15="A",C15="E"),IF(B15="op",E15-D15,F14-E15+D15),"")
 

Attachments

  • Question.png
    Question.png
    191.7 KB · Views: 3
  • Question 2.png
    Question 2.png
    225.8 KB · Views: 4

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Untested:
Excel Formula:
=IFERROR(IF(OR(C4="L",C4="C",C4="R"),IF(B4="OP",E4-D4,F3+E4-D4),""), IF(OR(C15="A",C15="E"),IF(B15="op",E15-D15,F14-E15+D15),""))
 
Upvote 1
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: finding problem in combining to functions (If, And, Or)
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
This is my first day here and I don't know much about the rules. I Will be careful in future.
 
Upvote 0
=IF(OR(C4="L",C4="C",C4="R"),IF(B4="OP",E4-D4,F3+E4-D4),IF(OR(C4="A",C4="E"),IF(B4="op",D4-E4,F3-E4+D4),""))
I Got my answer
thanks to every for taking part in Help others
Syed Kashif
 
Upvote 0
Solution
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: finding problem in combining to functions (If, And, Or)
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
=IF(OR(C4="L",C4="C",C4="R"),IF(B4="OP",E4-D4,F3+E4-D4),IF(OR(C4="A",C4="E"),IF(B4="op",D4-E4,F3-E4+D4),"")) this is Right Solution
I found A solution to my question and as I an New here, I don't how to Mark it "Solved" anyways the tick next your answer. I am clicking it.
 
Upvote 0

Forum statistics

Threads
1,215,583
Messages
6,125,661
Members
449,247
Latest member
wingedshoes

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top