VBA code to display values based on selection in combo box

anbarasi_r

New Member
Joined
May 19, 2015
Messages
7
Hi,

I'm looking for a code that will display contents based on selection in combo box.

For example:

My sheet upload.xlsm . Sheet 1 is the main sheet. Combo box will be placed in sheet 2. Combo box should display months from Sheet 1 like May-15, Jun-15, Jul-15 etc. When a month is selected then filtered contents from sheet 1 should be displayed for that particular month. Like for example if Jun-15 is selected then, code has to display from Column B to D then for that month Column K to O. Not all contents for that month needs to be displayed. For column L only IFD and NCS need to be displayed. For column N if number is less than 1 then should be displayed. Any onsite/offshore movements or resign should also be captured. code has also to mention like Attrition or Billing or Status

SAmple Output:

Month selected - Jun-15

Column BColumn CColumn DColumn E
Attrition001ArunOffshore
Resign003VijayOffshore
Billing001Arun0.5
Billing002John0.25
Billed001ArunIFD
Billed004IvanNCS

<tbody>
</tbody>


Any help is appreciated. Thanks in advance.

Let me know if anything else is essential.
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Sorry guys. This will be my current requirement. Output should be like below:

StatusNameBilling %ProjectOnsite/OffshoreTeam
Onsite/Offshore movementsGS or GO
NCS
AFD
IFD
Billing (if % less than 1)

<tbody>
</tbody>

 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,429
Members
448,961
Latest member
nzskater

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