Hello again.
I have a sheet listing values on 5 separate columns in a helper column. Shown below. Depending on the cell value in N14, I would like to copy the range associated with the cell values in columns 1-5. For example, if the cell value in cell N14 is 5, I would like to copy range F15-F25 to another worksheet in the range B5-B15.
Thanks for looking!
I have a sheet listing values on 5 separate columns in a helper column. Shown below. Depending on the cell value in N14, I would like to copy the range associated with the cell values in columns 1-5. For example, if the cell value in cell N14 is 5, I would like to copy range F15-F25 to another worksheet in the range B5-B15.
Cell Formulas | ||
---|---|---|
Range | Formula | |
C6:F6 | C6 | =LEFT(C2,LEN(C2)-SEARCH("-", C2)) |
C7:F7 | C7 | =RIGHT(C2,LEN(C2)-SEARCH("-", C2)) |
C8:F8 | C8 | =LEFT(C3,LEN(C3)-SEARCH("-", C3)) |
C9:F9 | C9 | =RIGHT(C3,LEN(C3)-SEARCH("-", C3)) |
C10:F10 | C10 | =LEFT(C4,LEN(C4)-SEARCH("-", C4)) |
C11:F11 | C11 | =RIGHT(C4,LEN(C4)-SEARCH("-", C4)) |
C13:F13 | C13 | =B13+1 |
C14:F14 | C14 | =LEN(C2) |
C15:F25 | C15 | =WORKSHEET!H5-WORKSHEET!G5 |
END-OF-MONTH-PROCESSES.xlsm | |||
---|---|---|---|
B | |||
5 | 309.22 | ||
6 | -40.13 | ||
7 | 72.07 | ||
8 | 62.81 | ||
9 | -16.50 | ||
10 | 172.49 | ||
11 | 21.11 | ||
12 | 422.46 | ||
13 | 233.08 | ||
14 | 7.88 | ||
15 | -8.57 | ||
WORKSHEET |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B5:B15 | B5 | =K5-J5 |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
1:1048576 | Cell | contains an error | text | NO |
Thanks for looking!