Simple Asset Management - Formula

MD1032

New Member
Joined
Dec 30, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Hi all,

Long time lurker here. I usually find answers here but unfortunately, I'm a little stumped on this one!

I have two tables below. The first one is the main data table. The second one is an example of what it is supposed to display.
There are multiple assets for each desk. All desks already have screens present. I need to discover which desks are missing PCs.

Any ideas?
I have a feeling I have to combine an IF formula with either a VLOOKUP or XLOOKUP - But completely lost right now.

Thanks very much.

AssetDesk NumberType
791​
1​
Screen
864​
1​
Screen
788​
1​
PC
796​
2​
Screen
705​
2​
Screen
693​
3​
Screen
728​
3​
Screen
721​
4​
Screen
787​
4​
Screen
740​
4​
PC
753​
5​
Screen
813​
5​
PC


Desk NumberPC Present?
1​
Yes
2​
No
3​
No
4​
Yes
5​
Yes
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
One possibility
Book1
ABC
1AssetDesk NumberType
27911Screen
38641Screen
47881PC
57962Screen
67052Screen
76933Screen
87283Screen
97214Screen
107874Screen
117404PC
127535Screen
138135PC
14
15Desk Number
161Yes
172No
183No
194Yes
205Yes
Sheet1
Cell Formulas
RangeFormula
B16:B20B16=IF(COUNTIFS($B$2:$B$13,A16,$C$2:$C$13,"PC")<1,"No","Yes")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B16:B20Cell Valuecontains "No"textNO
 
Upvote 0
Solution
Lovely stuff!
I just attempted this on my dataset and it seems to be working great!

Thank you so much.

Happy new year.
 
Upvote 0

Forum statistics

Threads
1,215,391
Messages
6,124,673
Members
449,178
Latest member
Emilou

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