How to do this, what formula??? or what VBA Codes???

doms123

Board Regular
Joined
Apr 19, 2011
Messages
58
I am using Excel2007, i'm doing database as my project and i am having a problem on how to do this...


I have have three sheets first is the input sheet...


Excel Workbook
ABCDEF
1******
2*poducts**
3******
4*date delivered****
5**monthDateYear*
6*location of delivery**
7******
8*delivered by**
9******
10*sales**
11******
12**Encode**
13******
Sheet1


then my masterlist....


Excel Workbook
ABCDEFGHI
1ProductsDate DeliveredLocation of DeliveryDelivered bySales**
2MonthDayYear*DELETE
3Shoes1June82010Area 1Boy11k*button
4Shoes2December172010Area2Boy21k**
5Shoes3August72010Area 3Boy31k**
6Undrewears1September52010Area 5Boy31k**
7Undrewears2October52010Area 5Boy21k**
8Undrewears3November162010Area 2Boy31k**
9Undrewears4December52010Area 3Boy31k**
10Undrewears5June52012Area 2Boy11k**
11Sandals1September252010Area 1Boy31k**
12Sandals2October252010Area 2Boy41k**
13Sandals3November252010Area 3Boy21k**
14Towels1December222010Area 4Boy11k**
15Towels2January252010Area 5Boy41k**
16Towels3June52010Area 2Boy41k**
17Towels4May72011Area 1Boy11k**
18Towels5June52010Area 2Boy21k**
19Towels6August212010Area2Boy31k**
20Towels7June92011Area 4Boy41k**
21Towels7July142011Area 5Boy11k**
22Shorts1August92011Area 1Boy21k**
23Shorts2June142011Area 5Boy11k**
24*********
25*********
26*********
27*********
Sheet2


and my problem is this is my third sheet this is a summary or masterlist report on Per Location of Deliveries. I want to do like this


Excel Workbook
ABCDEFG
1Location of DeliveryArea 2
2ProductsDate DeliveredDelivered bySales
3MonthDayYear
4Shoes2December172010Boy21k
5Undrewears3November162010Boy31k
6Undrewears5June52012Boy11k
7Sandals2October252010Boy41k
8Towels3June52010Boy41k
9Towels5June52010Boy21k
10Towels6August212010Boy31k
11Area 1
12Area 2
13Area 3
14Area 4
15Area 5
Sheet3


the B1 is the list box of areas where it delivers, from Area 1 to Area 5 if I choose Area 2 the details that with Area 2 will appear same on the other areas...


then if i delete an entry on the masterlist it will be also delete on the summary per area delivered list...

Please Help me...
Thank you in advance
 
Last edited:

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
Hi doms123,

Is this what you want on sheet3?.....


Excel Workbook
ABCDEFGH
1Location of DeliveryArea 27*
2ProductsDate DeliveredDelivered bySales*Area 1
3MonthDayYear*Area 2
4Shoes2December172010Boy21k*Area 3
5Undrewears3November162010Boy31k*Area 4
6Undrewears5June52012Boy11k*Area 5
7Sandals2October252010Boy41k**
8Towels3June52010Boy41k**
9Towels5June52010Boy21k**
10Towels6August212010Boy31k**
11********
12********
13********
14********
15********
Sheet3


Copy the formulas in Row4 down as far as you require.

Good luck.

Ak
 
Upvote 0
HI,

The Pivot table is just to show you another way of achieving your objective.
You can delete that sheet if you do not require it, or you can use it as a sample and play around with it to see the different ways that you can manipulate the data.

Have fun.

Ak
 
Upvote 0
Sir I'm having with this last part of the formula,
Code:
ROW(Sheet1!$A$3)+1),"")}
because i am not using this formula on this sheet, this is only an example. I am using the idea on my own project, please help me...
 
Upvote 0

Forum statistics

Threads
1,224,551
Messages
6,179,473
Members
452,915
Latest member
hannnahheileen

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