Return invoice value if invoice number appears in a list

John T

Board Regular
Joined
Nov 28, 2013
Messages
145
Office Version
  1. 365
Platform
  1. Windows
Hi,

I need help with a formula, or the best way, to find out the total invoice value if the invoice number appears in a list.

I currently have a list of invoice numbers in column E and a value in column J for each invoice. There may be duplicates in this list with different values.
I then have a second list of invoice numbers that i need the total value of if the number appears in the first list. These are in column M and i need the total value in column N for that invoice number.

Thanks
 

Attachments

  • Picture1.jpg
    Picture1.jpg
    155.8 KB · Views: 7

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
sumifs( $J$2:$J$1000, $E$2:$E$1000, M2)
copied down
in fact a SUMIF() would do it
 
Upvote 0
if you want the total a basic sumfif should be used.
tye this formula in cell N2 and drag it down
=SUMIF($E:$E,$M2,$J:$J)
 
Upvote 0
you are welcome, just extend the rows to more than the data is likely to be - personally i dont like to use full column references as there are over 1 million rows and in some cases , excel calculates them all and known to slow down
 
Upvote 0

Forum statistics

Threads
1,215,097
Messages
6,123,076
Members
449,094
Latest member
mystic19

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top