Select record based on conditions

markuddel

New Member
Joined
May 5, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I'm breaking my head on this one and I can't find a logic way to resolve this.
I have an excel worksheet with a table containing work records for all my technicians. The records are grouped by technician / device relation using an id code in the first column (column A). I need to filter or (even better create an helper cell) allowing me to select a number of records (rows) specified in the 4th column (target). It is possible at times that I have more rows available than needed and for some records I might have less records available than specified in column 4 (target).
 

Attachments

  • 2022-05-05 17_21_38-Window.png
    2022-05-05 17_21_38-Window.png
    12 KB · Views: 12

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
have you solved this, i dont quite follow what you need - can you give some examples
column 4 "target' just has a 3 in
not sure what you need to do with that 3
is it 3 rows ,
or do you want all the records with a 3 in the target row

A helper column
=IF( column4 = "3", "yes","no")
replce column4 with the column itself and row - ie D2
nd copy down
now you can filter on Yes

BUT why not filter on column 4 with 3

Note: Images are difficult to see , and also requires that I input all the data myself, which is very time consuming.

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC , then put the sample spreadsheet onto a share
I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
 
Upvote 0

Forum statistics

Threads
1,223,895
Messages
6,175,257
Members
452,625
Latest member
saadat28

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