dynamic range for updating table

ajitexcel

Board Regular
Joined
Feb 27, 2012
Messages
66
Office Version
  1. 2019
Platform
  1. MacOS
Hello all
Help needed with updating table data with dynamic range.
i have two sheets. Sheet1 has data with four columns
A. Seniority No B. Rank C. DOB D. DOR (Retirement)
- Seniority is sequential 1 - 3000
- Ranks are say A to G
- DOR - incase of retirement if rank is A or B or C then DOB + 60 yrs else 57 yrs.
Sheet2 Result
on this sheet i have a table with Ranks as rows and Jan to Dec as Columns. it populates monthwise data.
i am using countifs function for this.
range1 is Sheet1!B:B, criteria is Sheet2!rank(A2), range2 is Sheet1!D:D, criteria is (Jan 17)Sheet2!B1.
I want to add another criteria that is Seniority No with say Sheet1!A:(this limit i want dynamic with user input), criteria A1. that is say i want retirement only upto seniority number 1200 (Sheet2!A1). then table should display retirement in 2017 upto 1200. at present it shows all retirements from S No. 1 - 3000 in 2017.
can anyone help with this..
Thanks
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,216,070
Messages
6,128,614
Members
449,460
Latest member
jgharbawi

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