Forum Discussion
Need FORMULA help please!!
- May 12, 2019
In the attached version of your file, the formula in J2, copied down rows, is:
=IF((B2=B1)*(D2<>"(All)")*SUMPRODUCT((B$1:B1=B2)*(D$1:D1="(All)")),
"",
I2)
ehb029 , the logic defined is different from what is in your sample file.
If Customer # in next row is not equal to Customer # in current row then J1=I1
Here is different
#3 is unclear If All doesn't exists that means something else is at this place, thus value <> All, thus J1 shall be blank (see item 2).
- ehb029May 12, 2019Copper Contributor
Thanks for your feedback.
When the cust # changes i always need the numeric value in col i moved to col j.
However,
When the cust # changes or remains the same and the "all" is present, i need the value moved - but when the customer # is the same and the "all" is replaced with another value, I want to leave the column blank.... this piece is where I am having problems.
I added v1 of the spreadsheet so you can see the formula I've tried and I put yellow hightlight where it's not working.