Hi guys and thank you for reading my thread.
I am having some trouble coming up with a formula for summing cells based on certain criteria. I am familiar with SUMIF and IF functions and OFFSET to some extent, but I have managed to get a bit confused with the choice of formulas available and whether they can be used to achieve what I would like. I have tried exhaustive searches (through Google, not on this forum) and there's an overwhelming number of articles about functions but none that are specific to what I am looking for. Sadly I have exhausted my Excel skills (it didnt take long!) and wondered if someone might be able to point me in the right direction?
I have a large table in Excel, and I am trying to sum certain values in a row if the value eight columns to the left is equal to the value "Node 1". Its the equivalent of using the formula (in Cell A1):
=IF(B1="Node 1",J10,0)+IF(K1="Node 1",S1,0).....etc.
Unfortunately I have a large number of columns to repeat this for and it would quite cumbersome to write out and store this formula for a long range of cells. Is there a neater version that could achieve the same result?
I looked at sumif formulas, but these work on the "Node 1" values and the value I am trying to sum being in different rows, and I also looked at array-based sumifs, but I need to copy this formula down over many rows and my understand is that array formulas cannot be copy-pasted.
I also thought of using some kind of match/index type function with an offset, but I think this will only work for the first instance that the formula finds, and there may be many instances of "Node 1" in the particular row that I am looking at.
Would anyone be able to offer any ideas? Am I overthinking this?
Thank you for any help anyone can offer me.
Kind regards,
Paul
Bookmarks