Not sure how to phrase this but, is it possible to array a formula without having to repeat it?
I'm using the following formula to calculate the values of one particular field.
However, I will be repeating this for 9 other fields and returning the sum of all of 10 fields together.
If I repeat the formula for the 10 fields, it gets rather cumbersome and would be difficult for another person to make sense of, if they needed to modify the spreadsheet in the future.
Each field is is 3 columns apart.
Basically, I'm wondering is it possible to just write the first formula and say repeat 9 times every 3 columns?
NB: I will be copying the formula down for 15 rows, hence some of the cells aren't locked for copying down.
Any help would be greatly appreciated, I just don't know whether this is even possible but I've been surprised before with Excel.
I'm using the following formula to calculate the values of one particular field.
=(IF(AND($H$6="NO",(OR($O$10=$D$7,$O$10=$E$7,$O$10=$F$7))),0,IF(AND($H$6="YES",(OR($O$10=$D$7,$O$10=$E$7,$O$10=$F$7))),$N15*$O$13*$O$11,$N15*$O$13*$O$11)))+(IF(AND($H$6="NO",(OR($R$10=$D$7,$R$10=$E$7,$R$10=$F$7))),0,IF(AND($H$6="YES",(OR($R$10=$D$7,$R$10=$E$7,$R$10=$F$7))),$Q15*$R$13*$R$11,$Q15*$R$13*$R$11)))
However, I will be repeating this for 9 other fields and returning the sum of all of 10 fields together.
If I repeat the formula for the 10 fields, it gets rather cumbersome and would be difficult for another person to make sense of, if they needed to modify the spreadsheet in the future.
=(IF(AND($H$6="NO",(OR($O$10=$D$7,$O$10=$E$7,$O$10=$F$7))),0,IF(AND($H$6="YES",(OR($O$10=$D$7,$O$10=$E$7,$O$10=$F$7))),$N15*$O$13*$O$11,$N15*$O$13*$O$11)))+(IF(AND($H$6="NO",(OR($R$10=$D$7,$R$10=$E$7,$R$10=$F$7))),0,IF(AND($H$6="YES",(OR($R$10=$D$7,$R$10=$E$7,$R$10=$F$7))),$Q15*$R$13*$R$11,$Q15*$R$13*$R$11)))+(IF(AND($H$6="NO",(OR($U$10=$D$7,$U$10=$E$7,$U$10=$F$7))),0,IF(AND($H$6="YES",(OR($U$10=$D$7,$U$10=$E$7,$U$10=$F$7))),$T15*$U$13*$U$11,$T15*$U$13*$U$11)))+(IF(AND($H$6="NO",(OR($X$10=$D$7,$X$10=$E$7,$X$10=$F$7))),0,IF(AND($H$6="YES",(OR($X$10=$D$7,$X$10=$E$7,$X$10=$F$7))),$W15*$X$13*$X$11,$W15*$X$13*$X$11)))+(IF(AND($H$6="NO",(OR($AA$10=$D$7,$AA$10=$E$7,$AA$10=$F$7))),0,IF(AND($H$6="YES",(OR($AA$10=$D$7,$AA$10=$E$7,$AA$10=$F$7))),$Z15*$AA$13*$AA$11,$Z15*$AA$13*$AA$11)))+(IF(AND($H$6="NO",(OR($AD$10=$D$7,$AD$10=$E$7,$AD$10=$F$7))),0,IF(AND($H$6="YES",(OR($AD$10=$D$7,$AD$10=$E$7,$AD$10=$F$7))),$AC15*$AD$13*$AD$11,$AC15*$AD$13*$AD$11)))+(IF(AND($H$6="NO",(OR($AG$10=$D$7,$AG$10=$E$7,$AG$10=$F$7))),0,IF(AND($H$6="YES",(OR($AG$10=$D$7,$AG$10=$E$7,$AG$10=$F$7))),$AF15*$AG$13*$AG$11,$AF15*$AG$13*$AG$11)))+(IF(AND($H$6="NO",(OR($AJ$10=$D$7,$AJ$10=$E$7,$AJ$10=$F$7))),0,IF(AND($H$6="YES",(OR($AJ$10=$D$7,$AJ$10=$E$7,$AJ$10=$F$7))),$AI15*$AJ$13*$AJ$11,$AI15*$AJ$13*$AJ$11)))+(IF(AND($H$6="NO",(OR($AM$10=$D$7,$AM$10=$E$7,$AM$10=$F$7))),0,IF(AND($H$6="YES",(OR($AM$10=$D$7,$AM$10=$E$7,$AM$10=$F$7))),$AL15*$AM$13*$AM$11,$AL15*$AM$13*$AM$11)))+(IF(AND($H$6="NO",(OR(AP$10=$D$7,AP$10=$E$7,AP$10=$F$7))),0,IF(AND($H$6="YES",(OR(AP$10=$D$7,AP$10=$E$7,AP$10=$F$7))),AO15*AP$13*AP$11,AO15*AP$13*AP$11)))
Each field is is 3 columns apart.
Basically, I'm wondering is it possible to just write the first formula and say repeat 9 times every 3 columns?
NB: I will be copying the formula down for 15 rows, hence some of the cells aren't locked for copying down.
Any help would be greatly appreciated, I just don't know whether this is even possible but I've been surprised before with Excel.