I have been trying to work out another formula to search cells of a column, and when a cell matches the a value it adds the corresponding cell to achieve one total. I am not sure if I need to do a VLOOKUP or not??
So if there is the value Local in column E and it is in e24 the corresponding cell j24 is added to one total, in the end any cells in column j correspnding with cells with the value Local in column E will all be added together. If there is a different value Long then they will be added together - I hope this makes sense!
The formula that I have so far is =IF(E24=Local,SUM(J24:J89),0) but it only works because I have to correct range of cells selected. I want the range of cells to be expanded to include anything in that columnn. I tried =IF(E24=Local,SUM(J1:1000),0) but that just added every thing in column J.
I dont think it was a very good attempt.
Bookmarks