Vlookup I think

vavs

Well-known Member
Joined
Jul 2, 2004
Messages
514
I have a complex task. I need to total a column based on criteria in another sheet in the workbook. I have a sheet called CUSTOMER. In that sheet I have a column called RATE. If the rate = 1, then I need the customer number located in the first column. Based on that customer number, I need to go to the sheet called READING HISTORY and total all of the values in the USAGE column which are associated with that customer number (there may be up to 8). I also need to count the number of customer entries which were totalled. I can easily find the number of customers, but if a customer has 8 entries I need to count 8 not 1.

This board has done some amazing things in the past, I hope you can pull my butt out of the fire on this one.
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,147,510
Messages
5,741,574
Members
423,668
Latest member
Audorin

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
Top