formula help

VBABEGINER

Well-known Member
Joined
Jun 15, 2011
Messages
1,284
Office Version
  1. 365
Platform
  1. Windows
Hi All, I need formula help. I'm sharing an excel file here and it contains 2 sheets. on one sheet i wrote down the logic and in 2nd sheet i need formula i.e. on cell BA4. Kindly guide me, it is not giving me output as per logic sheet. Can anyone pls help.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
I am not sure how we can help when you haven't provided any of the details.
Can you show us an example of exactly what you have any what you are trying to do, along with any formulas you currently have (and a detailed explanation of any formulas you need help building)?
 
Upvote 0
Hi, have uploaded screenshot here. Unable to post through XL2BB ;-(
 

Attachments

  • formula ss1.jpg
    formula ss1.jpg
    152.8 KB · Views: 141
  • formula ss2 logic.jpg
    formula ss2 logic.jpg
    223.6 KB · Views: 140
Upvote 0
I am not sure how we can help when you haven't provided any of the details.
Can you show us an example of exactly what you have any what you are trying to do, along with any formulas you currently have (and a detailed explanation of any formulas you need help building)?
Hi Joe, any help here pls
 
Upvote 0
I was initially replying just as a Moderator to tell you that your original question was incomplete, and did not contain enough information for ANYONE to answer.
Your question still makes it hard for people to help you.

However, there are some things that you can do to make it easier for people to help you, such as:
- Post your data in a way that allows people to easily copy/paste it to their own side
- Post your formula in a way that people can easily copy/paste that to their own side too (don't expect people to manually type and recreate everything you have!)
- Your formula also makes references to cells on a "Logic" sheet. What exactly is that and how does that come in to play? Further explanation is required.
 
Upvote 0
Hi Joe, Apologies from my side. And I agree to your points. Let me share in some meaningful way. Thanks for your time..
 
Upvote 0
Here is the formula in cell BA4.
Excel Formula:
=IF(OR(S4=Logic!$B$2,S4=Logic!$C$2),IF(AND(AJ4="",AK4="",AL4=""),1,
  IF(AND(AJ4<>"",AK4<>"",AL4<>""),IF(AL4<$BA$1,1,0),
  IF(AND(AJ4<>"",AK4<>""),IF(AK4<$BA$1,1,0),
  IF(AND(AJ4<>"",AJ4<$BA$1),1,0)))),
  IF($S4=Logic!$B$11,IF(OR($Z4="",$Z4<$BA$1),1,0),""))
If, Col S value is matched with Logic sheet B2 or C2, AND then the conditions. Like if all 3 dates are blank in AJ AK AL then BA4 should reflect 1 else another condition. Like I tried in above formulation I didnt able to achieve all those conditions. Hence seeking for help..
 
Upvote 0
What version of Excel are you using? There are some new functions available in the newer versions that could make this a bit easier.

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0

Forum statistics

Threads
1,222,902
Messages
6,168,938
Members
452,227
Latest member
sam1121

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