Grammarjunkie
Board Regular
- Joined
- Mar 22, 2016
- Messages
- 86
Thank you for clicking on my thread.
I'm fairly proficient at Excel formulas; however, this one is just becoming too much. I feel a fog settling over my brain.
I have three fields: D10, G10, and J10. All three will have dollar amounts manually entered, and I need a formula turning out various results depending on the combinations of the three.
(i.e. - If D10 is different from G10 and J10, if J10 is different from G10 and D10, if G10 is different from J10 and D10, if all three are different from each other, if J10 is only different from G10, if G10 is only different from D10, and if D10 is only different from J10)
Depending on which is the situation, a different sentence will populate somewhere.
(e.g. - "G10 sales price (XXXXX) does not match J10 sales price (xxxxx)"
"G10 sales price (xxxxx) does not match J10 sales price (xxxxx) or D10 sales price (XXXX)"
etc.)
I don't even know if this possible, but I feel pretty sure it is with some combination of AND(OR) functions. I just am going cross eyed.
So far, I have what is needed if one is different from BOTH of the other two.
=IF(G10="","",IF(J10="","",IF(D10="","",IF(G10<>AND(J10,D10),CONCATENATE("DU Sales price (",(G10),") does not match ELC Sales Price (",(D10),") or the CD Sales Price (",(J10),")"),IF(J10<>AND(G10,D10),CONCATENATE("CD Sales Price (",(J10),") does not match DU Sales Price (",(G10),") or the ELC Sales Price (",(D10),")"),IF(D10<>AND(J10,G10),CONCATENATE("ELC Sales Price (",(D10),") does not match CD Sales Price (",(J10),") or the DU Sales Price (",(G10),")"),""))))))
As you can see, I'm also Concatenating so that the sentence automatically fills in the dollar amounts.
Is this possible, guys? It seems way too complicated and I'm paralyzed. Haha.
Thanks for any and all help! :D Much appreciation!
EDIT: I don't mind doing it myself, really. I like learning.
So I'm not outright asking for the entire perfect formula. Just an idea of where to begin. I have ADD so my brain is just not finding a Launchpad. haha.
I'm fairly proficient at Excel formulas; however, this one is just becoming too much. I feel a fog settling over my brain.

I have three fields: D10, G10, and J10. All three will have dollar amounts manually entered, and I need a formula turning out various results depending on the combinations of the three.
(i.e. - If D10 is different from G10 and J10, if J10 is different from G10 and D10, if G10 is different from J10 and D10, if all three are different from each other, if J10 is only different from G10, if G10 is only different from D10, and if D10 is only different from J10)
Depending on which is the situation, a different sentence will populate somewhere.
(e.g. - "G10 sales price (XXXXX) does not match J10 sales price (xxxxx)"
"G10 sales price (xxxxx) does not match J10 sales price (xxxxx) or D10 sales price (XXXX)"
etc.)
I don't even know if this possible, but I feel pretty sure it is with some combination of AND(OR) functions. I just am going cross eyed.
So far, I have what is needed if one is different from BOTH of the other two.
=IF(G10="","",IF(J10="","",IF(D10="","",IF(G10<>AND(J10,D10),CONCATENATE("DU Sales price (",(G10),") does not match ELC Sales Price (",(D10),") or the CD Sales Price (",(J10),")"),IF(J10<>AND(G10,D10),CONCATENATE("CD Sales Price (",(J10),") does not match DU Sales Price (",(G10),") or the ELC Sales Price (",(D10),")"),IF(D10<>AND(J10,G10),CONCATENATE("ELC Sales Price (",(D10),") does not match CD Sales Price (",(J10),") or the DU Sales Price (",(G10),")"),""))))))
As you can see, I'm also Concatenating so that the sentence automatically fills in the dollar amounts.
Is this possible, guys? It seems way too complicated and I'm paralyzed. Haha.
Thanks for any and all help! :D Much appreciation!
EDIT: I don't mind doing it myself, really. I like learning.

Last edited: