View Single Post
  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
WendyUK WendyUK is offline
external usenet poster
 
Posts: 8
Default SUM by unique reference

Thank you very much, but I am getting an error #Name? - I've tried it with
the physical field name that it uses to fetch the data and with the column
header name but it gives me the same error? what am I doing wrong?

Thank you again in advance.

"Toppers" wrote:

=SUMPRODUCT(--($G$2:$G$100=URN Ref),$F$2:$F$100)

where URN Ref is a constant or value in a cell.

See my other reply.


"WendyUK" wrote:

i.e. I have 7 columns:
A/C ,Name, Type, Code, Description, Value, URN Ref

The URN Ref is assigned by the system and is different for each transaction,
but each transaction can have multiple lines. I wish to have a total of the
value field for each unique URN Ref which is the number the system assigns
when the transaction is input.

Thank you in advance

"Bernard Liengme" wrote:

Please tell us more about how the worksheet is set out.
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"WendyUK" wrote in message
...
Hi, I am trying to bring out multiple totals based on a Reference Number
with
an unknown number of lines.

i.e ref 1956 could have 8 lines and ref 3466 could have 5 lines and I want
to show a total for each unique reference - can anyone help me?