formula to return cells in a row based on 2 conditions

melewie

Board Regular
Joined
Nov 21, 2008
Messages
188
Office Version
  1. 365
Platform
  1. Windows
Hi all,

Its been a while but I find myself completely stuck once again, any help is greatly appreciated.

I have a workbook with a sheet Data_sheet with a report on that's updated regularly. I have been asked to create a dashboard (and accepted before I realised VBA is not an option)

What I am trying to achieve is on the dashboard page if a user selects 1,2,3,or 4 from a drop down on the dashboard sheet (column D on data sheet) then all of the job that are priority 1 (or what ever the number) and are not complete (column J on the data sheet) will pull through to the dashboard sheet.

I have tried using VLOOKUP but this will only return the first data that matches the criteria so can only get one to pull record to pull across.

I hope this makes some kind of sense, If I can help any further please ask away

thanks in advance
 

Attachments

  • Screenshot 2024-01-06 091442.png
    Screenshot 2024-01-06 091442.png
    88.9 KB · Views: 6
  • Screenshot 2024-01-06 091926.png
    Screenshot 2024-01-06 091926.png
    9.5 KB · Views: 5

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Depending on your XL version ( your profile does not say which?), perhaps the FILTER function might help?
 
Upvote 0
Thanks for the reply I did not know this existed!

I am still stuck but feel like I'm finally going in the right direction

=FILTER(Data_Sheet!B:K,(Data_Sheet!D:D=Dashboard!B11)*(Data_Sheet!J:J="<>*complete*"),"")

this is returning "" To my 2 brain cells are struggling to figure this one out
 
Upvote 0
I have figured it out seems Filter works beeter with named table and ranges...... Maybe?!

=CHOOSECOLS(FILTER(Table1,(Table1[Job Priority]=Dashboard!B10)*(Table1[Complete check]=Dashboard!A1),""),6,7,8,9,10,11,2,3)

Thanks for pointing me in the right direction Arthur!!!
 
Upvote 0
You're welcome. Please add your XL version in your profile. It might be handy in the future
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,223
Members
452,620
Latest member
dsubash

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