Hi All,
I am soon to have a lot of data (too much for excel) from some simulation work I am completing for university which I then need group based on the formula below. Any help with this would be really appreciated!
My database is composed of 7 tables, each with identical variables.
I then need to group all the data into 11 groups (R, BA_DO, BA, BAS, LG, DOS, DOA, DO, MO, HG, SHG) based on the formula below (written for excel) which references values in the table below (the values in the table need to be able to be changed)
=IF(AND([Au]>M3,[As]<M4,[K]<M6,[S]<M8),"SHG",
IF(AND([Au]>L3,[As]<L4,[K]<L6,[S]<L8),"HG",
IF(AND([Au]>K3,[As]<K4,[K]<K6,[S]<K8),"MO",
IF(AND([Au]>J3,[As]<J4,[K]<J6,[S]<J8),"DO",
IF(AND([Au]>I3,[As]<I4,[K]<I6,[S]<I8),"DOA",
IF(AND([Au]>H3,[As]<H4,[S]<H8),"DOS",
IF(AND([Au]>G3,[As]<G4,[K]<G6,[S]<G8),"LG",
IF(AND([Au]>F3,[As]<F4,[K]<F6,[S]<F8),"BAS",
IF(AND([Au]>E3,[S]<E4),"BA",
IF(AND([S]>D9),"BA_DO",IF(AND([Au]<C2),"R"
)))))))))),"NA")
Following the completion of the groupings I then need to display the resultant data in a summary table as per below.
Any help would be welcomed!
Cheers.