populate & sum numeric data based on two dates and sheet name using options

Abdo

Board Regular
Joined
May 16, 2022
Messages
183
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
Hello
I have two sheets contains data .
what I want in OUTPUT sheet when write dates in D3,E3 and sheet name in F3 and select optionbutton1 or optiobutton2 (ACTIVE X)
then should show data from row7 by summing the numbers within two dates and sheet name and optionbuttons .
the dates should match with column B in any sheet and the optionbutton will match with column D
my format date DD/MM/YYYY


ABB.xlsm
ABCDE
1ITEMDATEREFCONDITIONBALANCE
2101/01/2023RE45666AA1200.00
3201/01/2023RE45667PP2000.00
4301/01/2023RE45668AA2200.00
5401/01/2023RE45669PP1000.00
6501/01/2023RE45670AA1500.00
7602/01/2023RE45671AA2000.00
8702/01/2023RE45672AA2200.00
9802/01/2023RE45673AA2400.00
10902/01/2023RE45674PP2600.00
CCR



ABB.xlsm
ABCDE
1ITEMDATEREFCONDITIONBALANCE
2101/01/2023CV455-900PP1,200.00
3201/01/2023CV455-901PP2,000.00
4301/01/2023CV455-902AA2,200.00
5401/01/2023CV455-903PP1,000.00
6501/01/2023CV455-904PP1,500.00
7602/01/2023CV455-905PP2,000.00
8702/01/2023CV455-906AA2,200.00
9802/01/2023CV455-907AA2,400.00
CVF


ABB.xlsm
ABCDEF
1
2FROM DATETO DATESHEET NAME
3
4
5
OUTPUT


Z.PNG


the result in row7 after writing into cells and select optionbutton
ABB.xlsm
CDEF
1
2FROM DATETO DATESHEET NAME
301/01/202302/01/2023CCR
4
5
6
7ITEMBALANCE
8111500
OUTPUT


x.PNG

the data could be 4000 rows for each sheet
thanks in advance
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
currently 2013, 2019.

Okay, Well, I errored in thinking that you version (2019) did not need to commit SUM Function Array Formulas without the CSE (CNTL-SHFT-ENTR) keystroke, which works for 2019, I'm not sure about 2013, but I think it does. I am pretty sure SUMPRODUCT does not need it though.

Best Wishes!
 
Upvote 0

Forum statistics

Threads
1,215,129
Messages
6,123,217
Members
449,091
Latest member
jeremy_bp001

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