Follows on from previous post:-
I'm from an Access background and trying to make Excel do some of the functions I would normally build in Access.
For example in my spreadsheet
=Sumproduct(--(k2:k1001="P10001"),--f2:F1001) - calculates the cost of all the materials used against job P10001
However I have completed more than one job and would like to calculate all the materials used in the current financial year! (luckily all the job start P100) is it possible to build a formulae?
Have tried
=Sumproduct(--(k2:k1001="P100*"),--f2:F1001)
And
=Sumproduct(--(k2:k1001="*P100*"),--f2:F1001)
Both return the same answer, which is the total value of all of the stock and not just the stock used in "P100" projects.
Many thanks
Sparkgirl
I'm from an Access background and trying to make Excel do some of the functions I would normally build in Access.
For example in my spreadsheet
=Sumproduct(--(k2:k1001="P10001"),--f2:F1001) - calculates the cost of all the materials used against job P10001
However I have completed more than one job and would like to calculate all the materials used in the current financial year! (luckily all the job start P100) is it possible to build a formulae?
Have tried
=Sumproduct(--(k2:k1001="P100*"),--f2:F1001)
And
=Sumproduct(--(k2:k1001="*P100*"),--f2:F1001)
Both return the same answer, which is the total value of all of the stock and not just the stock used in "P100" projects.
Many thanks
Sparkgirl