Home

Is there anyway to return a formula if an IFS formula is true???

%3CLINGO-SUB%20id%3D%22lingo-sub-806949%22%20slang%3D%22en-US%22%3EIs%20there%20anyway%20to%20return%20a%20formula%20if%20an%20IFS%20formula%20is%20true%3F%3F%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-806949%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20been%20playing%20around%20with%20Excel%20to%20manage%20sales%20people's%20revenue%20and%20personal%20earnings.%3C%2FP%3E%3CP%3ESome%20of%20our%20customers%20pay%20one%20of%20fees%20whereas%20others%20pay%20instalments.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20E.g%3C%2FP%3E%3CP%3EIF(AND(g3%3Ag17%2C%20%22Contract%22%2C%20f3%3Af17%2C%20%22Steven%20Jones%22)%2C%20Then%20perform%20a%20formula%20on%20this%20cell%20value%3CBR%20%2F%3E%3CBR%20%2F%3EThis%20is%20the%20formula%20I%20want%20it%20to%20carry%20out%3A%20%3D(%24H7%2F%24I7)*AND(G21%26gt%3B%3D%24M7%2CG21%26lt%3B%24M7%2B%24I7)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%20I%20want%20it%20to%20add%20this%20formula%20to%20the%20value%20at%20the%20end%3A%26nbsp%3B%2BSUMIFS(H3%3AH17%2CG3%3AG17%2C%22Jones%22%2CO3%3AO17%2C%22May%22)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'd%20be%20super%20grateful%20if%20anyone%20could%20give%20me%20any%20idea%20as%20to%20how%20to%20do%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBRAD%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-806949%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-806983%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20there%20anyway%20to%20return%20a%20formula%20if%20an%20IFS%20formula%20is%20true%3F%3F%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-806983%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F393001%22%20target%3D%22_blank%22%3E%40BradHarrisDev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETry%20below%20formula%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%3DIF(AND(G3%3AG17%3D%22Contract%22%2CF3%3AF17%3D%22Steven%20Jones%22)%2C(%24H7%2F%24I7)*AND(G21%26gt%3B%3D%24M7%2CG21%26lt%3B%24M7%2B%24I7)%2C0)%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20may%20also%20share%20your%20file%20for%20more%20relevant%20and%20suitable%20formula.%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3ETauqeer%3C%2FP%3E%3C%2FLINGO-BODY%3E
BradHarrisDev
Occasional Visitor

I've been playing around with Excel to manage sales people's revenue and personal earnings.

Some of our customers pay one of fees whereas others pay instalments.

 

For E.g

IF(AND(g3:g17, "Contract", f3:f17, "Steven Jones"), Then perform a formula on this cell value

This is the formula I want it to carry out: =($H7/$I7)*AND(G21>=$M7,G21<$M7+$I7)

 

Then I want it to add this formula to the value at the end: +SUMIFS(H3:H17,G3:G17,"Jones",O3:O17,"May")

 

I'd be super grateful if anyone could give me any idea as to how to do this.

 

BRAD

1 Reply
Highlighted

Hi @BradHarrisDev 

 

Try below formula:

 

=IF(AND(G3:G17="Contract",F3:F17="Steven Jones"),($H7/$I7)*AND(G21>=$M7,G21<$M7+$I7),0)

 

You may also share your file for more relevant and suitable formula.

Thanks

Tauqeer

Related Conversations
Help with an IF AND formula
aanaya6 in Excel on
3 Replies
IF FUNCTION ISN'T WORKING NO MATTER HOW SIMPLE THE COMMAND IS
thomasea in Excel on
6 Replies
formula for data calculation
aayushman_mishra in Excel on
10 Replies
Creating A Sublist
zjohnson in Excel on
5 Replies
Excel Forumla to exclude empty cells.
ulken2019 in Excel on
6 Replies