How to combine lookup and sumif

kevino

New Member
Joined
Dec 13, 2005
Messages
2
I am trying to create a spread sheet that will refresh with data and still give me what i want via formula. I struggled for hours trying to figure it out, hopefully one of you will know a way for me to accomplish this.

on one page (page2) i have self refreshing data where i have established a function of # of days an invoice is outstanding. (invoice by invoice for each vendor)

on another page is a vendor listing with an extended weekly budget (horizontally) i would like to lookup the vendor on this budget page and go to the other page of vendor invoices and summ all of the invoices that fit the criterial >x days. i can't get both formulas to work

here is the general layout
page 1

1) vender codes 2)week a 3)week b...

page 2

1) vender code 2)invoice 3)days 4)amount
1b) vender code (same or different)....

the best i could come up with was something like if(vlookup,page1vendercode, form page 2 vendorcode to amount,column 3)days, false)>35,sumif,page2 daystoamount,days>35,amount)

all this did was give me a yes if the vender had an invoice that was greater than 35 and summing every invoice greater than 35. I am trying to isolate only those invoices from that vendor that are over 35 and sum them.

thank you.

kevin
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,224,575
Messages
6,179,637
Members
452,934
Latest member
Jdsonne31

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