Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-07-2021, 07:52 AM
Dave T Dave T is offline Assign text string against groups of data Windows 7 64bit Assign text string against groups of data Office 2013
Advanced Beginner
Assign text string against groups of data
 
Join Date: Nov 2014
Location: Australia
Posts: 66
Dave T is on a distinguished road
Default Assign text string against groups of data

Hello All,



I have been trying to work this out for a while and probably have not given my question the correct title. The formula to lookup a text string and apply to everything in that group also has me stumped.

I have a range of bridge plan numbers in column A.
Some bridges have multiple spans, hence the plan number may appear more than once.
Each span may produce different speed restrictions that the vehicle travelling over it should travel at.
The worst restriction is shown as 'OVERLOADED', followed by '5 kph centre' and finally '10 kph'.

Column D is an example of what I am after.

Is there a formula that will:
  1. In a column return the worst case i.e. if one span is OVERLOADED then it will apply OVERLOADED to all other spans of that plan number.
  2. In the same column or another column return the worst case i.e. if one span is '5 kph centre' then it will apply '5 kph centre' to all other spans of that plan number.
  3. By default if it is '10 kph' all of the spans within the group will also be '10 kph'

So if I was using a nested if formula it would return 'OVERLOADED' then '5 kph centre' and finally '10 kph'.

The MAX or MIN examples in columns I & J are what I am after but it is text, not numerals that I would like returned.

Regards, Dave T
Attached Files
File Type: xlsm Values per group (forum post).xlsm (18.8 KB, 13 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Search for specific data in a text string teligence Excel 1 05-20-2017 11:51 AM
How to get groups of data on each page aldumil Mail Merge 7 06-24-2015 01:28 PM
Assign text string against groups of data Sorting Groups of Data, keeping continuity carter Excel 1 04-06-2015 01:25 AM
Assign text string against groups of data Way to search for a string in text file, pull out everything until another string? omahadivision Excel Programming 12 11-23-2013 12:10 PM
Assign text string against groups of data Assign resource groups to tasks jjmclell Project 2 12-17-2012 04:28 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:16 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft