How to change a chart based on what customer code is typed into a cell / Count customer data

K100PAX

New Member
Joined
Aug 21, 2023
Messages
1
Office Version
  1. 2010
Platform
  1. Windows
Hello, I have a load of data which is split by customers. I want to be able to add a tab with a load of charts on it but I want to be able to key a customer code into (for example) cell A1 and when I hit "ENTER" the chart data updates.

I also need a formula to count the amount of responses a customer has had in a particular column. Kinda like a COUNTIFS as it needs to be based on the customer. The data cells could contain numbers, test or nothing at all

Its almost like I need =COUNTIFS(DATA!J:J,SUMMARY!B4,DATA!AF:AF,THIS PART COUNTS THE NUMBER OF CELLS THAT THIS CUSTOMER HAS IN THE DATA RANGE AF:AF THAT CONTAIN SOMETHING)

Any help would be appreciated

Thank you all
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Have you considered using PIVOT Tables and slicers. The slicer does not show up in the mini worksheet print, see the image under the minisheet below:




Mr excel questions 55.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZAA
1<< CUSTOMERCustomer Data
2CustomerOrder DateWidget TypeWidgets OrderedWidgets Returned
3A2023-04-06Thingamabob784Column Labels
4C2023-05-30Thingamabob966Sum of Widgets OrderedSum of Widgets ReturnedTotal Sum of Widgets OrderedTotal Sum of Widgets Returned
5F2023-02-02Spinner610JanFebMarAprMayJunJulJanFebMarAprMayJunJul
6C2023-01-02Spinner5511
7D2023-02-26Spinner462Row Labels
8D2023-04-10Spinner554B91633013918413
9C2023-07-02Spinner502Spinner91633013918413
10G2023-01-07Thingamabob4310C14821616850192017258258
11C2023-01-14Spinner186Blob754116211013213
12C2023-01-06Blob752Spinner7379575017311225933
13E2023-02-24Thingamabob145Thingamabob96956619112
14D2023-02-05Spinner7410D1201009320171231311535044
15C2023-06-20Spinner5711Blob10031003
16A2023-07-17Blob393Spinner120932012131123336
17F2023-03-25Thingamabob727Thingamabob175175
18A2023-03-22Blob668E63120969702510737642
19A2023-06-06Spinner839Blob630630
20E2023-02-22Spinner2010Spinner209710711717
21D2023-03-02Blob1003Thingamabob10096151019625
22A2023-03-21Blob780F87617286507730619
23B2023-06-11Spinner309Spinner610610
24E2023-07-10Spinner977Thingamabob87728657724519
25D2023-06-17Thingamabob175G4352901051018525
26F2023-01-21Thingamabob875Blob90109010
27D2023-04-04Spinner389Spinner525525
28G2023-07-23Blob9010Thingamabob43104310
29G2023-06-13Spinner525Grand Total34130135993385267237343721134136191983201
30F2023-05-27Thingamabob867
31C2023-06-01Thingamabob956
32A2023-04-17Blob8711
33B2023-03-11Spinner911
34C2023-05-08Blob4111
35C2023-05-01Spinner793
36B2023-05-01Spinner633
37E2023-03-20Thingamabob9610
38C2023-06-20Blob160
39E2023-02-10Thingamabob8610
40D2023-05-01Spinner2011
41E2023-01-05Blob630
42A2023-04-23Spinner104
K100PAX


1692666403390.png
 
Upvote 0

Forum statistics

Threads
1,223,712
Messages
6,174,033
Members
452,542
Latest member
Bricklin

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