Alphonse68
New Member
- Joined
- Sep 26, 2013
- Messages
- 22
Hello everyone,
I have this situation:
where Bdg(B9) has the number of the current month and Sch(AJ+AN) have values to add up in a pattern of 8 rows apart for each month.
The formula works fine, but it is very long and there are variations of it in maaaany places... editing them becomes really tedious.
I want to know if there is a way of writing this formula so that it is a) more practical to edit and/or b) shorter?
I apologize if there is a post somewhere that answers my questions, but, honestly, I have no idea how to even begin searching for it.
Any and all hints are welcome.
Cheers!!
I have this situation:
Code:
=IF(Bdg!$B$9=1,Sch!AJ8+Sch!AN8, IF(Bdg!$B$9=2,Sch!AJ16+Sch!AN16, IF(Bdg!$B$9=3,Sch!AJ24+Sch!AN24, ..., IF(Bdg!$B$9=12,Sch!AJ96+Sch!AN96)
The formula works fine, but it is very long and there are variations of it in maaaany places... editing them becomes really tedious.
I want to know if there is a way of writing this formula so that it is a) more practical to edit and/or b) shorter?
I apologize if there is a post somewhere that answers my questions, but, honestly, I have no idea how to even begin searching for it.
Any and all hints are welcome.
Cheers!!