vladimiratanasiu
Active Member
- Joined
- Dec 17, 2010
- Messages
- 359
- Office Version
- 365
- 2021
- Platform
- Windows
Hello!
I have a larger table arranged in a structure like the attached one. All cells have formulas, but those from specific rows (e.g. C23:K23, C27:K27, C28:K28 etc. ) contain formulas type "=C21/SUM(C21:K21), D21/SUM(D21:L21)" etc. and "=C25/AT25, D25/AT25" etc., that generate #DIV/0! error. In these circumstances, I want to change their formulas in some like from E3 - IFERROR(C21/SUM(C21:K21),0), to avoid the error. Is any way I could do it only in specific rows #DIV/0! errors and change the structure of all formulas at once, by adding the additional content (=IFERROR(.........................),0) ?
Thank you in advance!
I have a larger table arranged in a structure like the attached one. All cells have formulas, but those from specific rows (e.g. C23:K23, C27:K27, C28:K28 etc. ) contain formulas type "=C21/SUM(C21:K21), D21/SUM(D21:L21)" etc. and "=C25/AT25, D25/AT25" etc., that generate #DIV/0! error. In these circumstances, I want to change their formulas in some like from E3 - IFERROR(C21/SUM(C21:K21),0), to avoid the error. Is any way I could do it only in specific rows #DIV/0! errors and change the structure of all formulas at once, by adding the additional content (=IFERROR(.........................),0) ?
Thank you in advance!
Cell Formulas | ||
---|---|---|
Range | Formula | |
C21:K21 | C21 | =C3 |
C22,C26,C30 | C22 | =SUM(C21:K21) |
C23 | C23 | =IFERROR(C21/SUM(C21:K21),0) |
D23,C27:D27,C31:D31 | D23 | =D21/SUM(D21:L21) |
E23,E27,E31 | E23 | =E21/SUM(C21:K21) |
F23,F27,F31 | F23 | =F21/SUM(C21:K21) |
G23,G27,G31 | G23 | =G21/SUM(C21:K21) |
H23,H27,H31 | H23 | =H21/SUM(C21:K21) |
I23,I27,I31 | I23 | =I21/SUM(C21:K21) |
J23,J27,J31 | J23 | =J21/SUM(C21:K21) |
K23,K27,K31 | K23 | =K21/SUM(C21:K21) |
C24,C28,C32 | C24 | =C21/AT21 |
D24,D28,D32 | D24 | =D21/AT21 |
E24,E28,E32 | E24 | =E21/AT21 |
F24,F28,F32 | F24 | =F21/AT21 |
G24,G28,G32 | G24 | =G21/AT21 |
H24,H28,H32 | H24 | =H21/AT21 |
I24,I28,I32 | I24 | =I21/AT21 |
J24,J28,J32 | J24 | =J21/AT21 |
K24,K28,K32 | K24 | =K21/AT21 |
C25:K25 | C25 | =C4 |
C29:K29 | C29 | =C5 |
Last edited: