Hi Guys,
I hope you can help
I am need to get a formula that work with IF AND
Please see attached
Any help would be grateful
Thanks
Vito
Hi Guys,
I hope you can help
I am need to get a formula that work with IF AND
Please see attached
Any help would be grateful
Thanks
Vito
=IF(AND(LEFT(A2,3)="Pay",B2<0),"Refund","Payment")
Regards
Special-K
Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.
Thank You!
exactly as you write in D3.
begins with Pay --> LEFT(X,3)="Pay"
AND
BX<0
so...Put into C3:
Please Login or Register to view this content.
Happy with my answer * Add Reputation.
If You are happy with solution, please use Thread tools and mark thread as SOLVED.
Hi,
I just tried, the formula works but then I run a test, by deleting cell containing the text payment, and the result does not seem to change - the formula result still shows Payment
Well you never said you were going to do that.
You simply said if the condition was TRUE then Refund "otherwise Payment"
Change it to
=IF(A2="","",IF(AND(LEFT(A2,3)="Pay",B2<0),"Refund","Payment"))
Last edited by Special-K; 05-23-2019 at 12:19 PM.
Thank you!
Hi,
Thanks a million for your help
To the formula you have just give me can the function be ISBLANK. Basically if both cells are blank, the text cell and amount cell, then return blank otherwise perform the formula ID AND.
Administrative Note:
Welcome to the forum.
We would very much like to help you with your query, however the thread title does not really convey what your request is about.
Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).
Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.
(Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks