Hi All! I have a value "Y-9." that I need to incrementally increase by "2." up to a value of say "Y9." (I will do the same with an "X-20." to "X20." and I assume the same formulation would work for both)
I also need this increase to stay the same for approx. 10 rows.
Below is my Sample/TEST. The problem is "LEFT(A1,1)&TEXT(RIGHT(A1,3)+2,"0."" looks for the three right most digits. being "-9."........... When the value increases to a POSITIVE, it drops the "-" (NEGATIVE) and is now a positive "y9." This then fouls up my code, leaving me wanting more, and giving the #VALUE! .........…
Between my two columns, of X-20. to X20. and Y-9. to Y9. I have 220 ish COMBOS.
On a side note, every time y goes from Y-9. thru the range to Y9. I need X to increase by 2. …….. Which I can do with the code below if I figure it out. AND Also, I need Z to decrease by .15 every row. up to Z-1.5 ……… This I am pretty ok with copying and pasting, unless someone feels crafty.
This is my SAMPLE for the "Y" Column - using the following code:
=IF(COUNTIF($B$1:B1,B1)=3,LEFT(B1,1)&TEXT(RIGHT(B1,3)+2,"0."),B1)
B1 being y-9.
X-20. Y-9. Z-.15
X-20. Y-9. Z-.30
X-20. Y-9. Z-.45
X-20. Y-9. Z-.60
X-20. Y-9. Z-.75
X-20. Y-9. Z-.90
X-20. Y-9. Z-1.05
X-20. Y-9. Z-1.20
X-20. Y-9. Z-1.35
X-20. Y-9. Z-1.50
X-20. Y-7. Z-.15
X-20. Y-7. Z-.30
X-20. Y-7. Z-.45
X-20. Y-7. Z-.60
X-20. Y-7. Z-.75
X-20. Y-7. Z-.90
X-20. Y-7. Z-1.05
X-20. Y-7. Z-1.20
X-20. Y-7. Z-1.35
X-20. Y-7. Z-1.50
SKIPPING ROWS SKIPPING ROWS
X-20. Y9. Z-.15
X-20. Y9. Z-.30
X-20. Y9. Z-.45
X-20. Y9. Z-.60
X-20. Y9. Z-.75
X-20. Y9. Z-.90
X-20. Y9. Z-1.05
X-20. Y9. Z-1.20
X-20. Y9. Z-1.35
X-20. Y9. Z-1.50
X-18. Y-9. Z-.15
X-18. Y-9. Z-.30
X-18. Y-9. Z-.45
X-18. Y-9. Z-.60
X-18. Y-9. Z-.75
X-18. Y-9. Z-.90
X-18. Y-9. Z-1.05
X-18. Y-9. Z-1.20
X-18. Y-9. Z-1.35
X-18. Y-9. Z-1.50
Bookmarks