Formula help please.

Seyk1701

New Member
Joined
Oct 13, 2024
Messages
13
Office Version
  1. 365
Platform
  1. Windows
  2. Web
For context I have two workbooks which contain the same problem types. Workbook 1 contains the site size (large or small), and workbook 2 contains expected duration for a specific site type based on the size of the site.

What I'm looking for is a formula that will match the problem types and look at the site size in workbook 1. So if problem type matches + site size is small, the formula should return duration for small site, or else it should return the duration for a large site (or #NA)
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
It would be helpful if you provide sample data from each workbook and your expected results.
 
Upvote 0
Sorry yeah here:

Workbook 1

Site sizeConcatDuration (based on site size. If site <> small default large duration)
Large
EVRiLIFT EQUIPMENTPASS LIFTPassenger Goods Lift LOLER Inspection- 6 Monthly
Small
A.S.Watson(Health&BeautyUK)ELECTRICALPOWERHV Sub-Station (Visual Inspeciton Only) - Monthly - Depots Only

Workbook 2

ConcatLarge site durationSmall Site Duration
A.S. Watson (Health & Beauty UK) LimitedACCESSBARRIERSFault Or Failure
10.5
The Arch CompanyStatutory inspections / SurveysFire SafetyWeekly Testing of Fire Alarm System
21
 
Upvote 0
Assuming "Concat" is the problem type? How much of this is supposed to match between sheets? Partial match? Exact match? I may not be the person to help if it's going to be a partial match on both ends. And even the parts that I would assume match are not consistent. "A.S. Watson (Health & Beauty UK)" vs "A.S.Watson(Health&BeautyUK)".
 
Upvote 0

Forum statistics

Threads
1,223,604
Messages
6,173,319
Members
452,510
Latest member
RCan29

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