• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member
  • Login

guidance comparing one to another with delimiter|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / guidance comparing one to another with delimiter|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…guidance comparing one to another w…
sp_PrintTopic sp_TopicIcon
guidance comparing one to another with delimiter
Avatar
Scott Sizelove

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
January 1, 2021
sp_UserOfflineSmall Offline
1
January 8, 2022 - 6:58 am
sp_Permalink sp_Print

I am finding myself circling around and not getting to a good method of what I need.  Any guidance appreciated.

I have one cell that contains a version, which can be text or number as it depends on install:  8.2.3a

I have a second cell that contains target versions but they are based on the installed branch:  8.1.2k / 8.2.3a / 9.0.1c

 

My goal is to compare the installed version to the target version and display if it is below or equal to the same branch within the delimited data.

So, 8.2.3a would not be compared to 8.1.2k as it is not same branch

8.2.3a would be compared to 8.2.3a and return equal as it is the same branch

8.2.3a would not be compared to 9.0.1.c as it not the same branch

The first two digits, separated by decimal, indicate branch.

 

Thanks in advance for any help.

Avatar
Philip Treacy
Admin
Level 10
Forum Posts: 1550
Member Since:
October 5, 2010
sp_UserOfflineSmall Offline
2
January 8, 2022 - 9:59 am
sp_Permalink sp_Print

Hi Scott,

Please provide some sample data files and an example of how you want the results to look.

Regards

Phil

Avatar
Scott Sizelove

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
January 1, 2021
sp_UserOfflineSmall Offline
3
January 9, 2022 - 2:17 am
sp_Permalink sp_Print

Thanks for looking Phil.  I hope what I am uploading is not too wordy or overly confusing.  See the workbook for a general explanation and fields I am using..as well as sample formula.

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 880
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
4
January 9, 2022 - 8:00 pm
sp_Permalink sp_Print sp_EditHistory

Hello Scott,

The solution I give here is using another approach and I am using exact match, not just the first three characters as that can give multiple matches. First I created a lookup table based on your data in columns C:E, then I have provided three different lookup methods to find the value I am after, in this example I have used the column headers as values.

I find this approach much easier to work with, than having to create complicated formulas.

See if it works out for your need.

Br,
Anders

Avatar
Scott Sizelove

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
January 1, 2021
sp_UserOfflineSmall Offline
5
January 11, 2022 - 12:34 am
sp_Permalink sp_Print

Thanks Anders.  Unfortunately that is not what will help me, but thank you for your time!  I am not able to create a table for this data as shown as it is a snippet of a larger overall set of instructions and dataset.

My ultimate goal is to compare the installed code to each of the three cells mga, rga and latest and return a status depending where it falls:

if installed code is < mga status 0

if installed code is >= mga status 1

if installed code is > mga and if installed is <= rga status 2

if installed code is > rga and = latest status 3

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 880
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
6
January 11, 2022 - 4:52 am
sp_Permalink sp_Print

Hello,

Ok, I hope you get a solution that works.

Br,
Anders

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4619
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
7
January 11, 2022 - 12:41 pm
sp_Permalink sp_Print

Hi Scott,

Given that the position of the codes can be left, middle or right, I think you need to split the data into rows so you can compare them more easily. You can do this with Power Query > Split Column > by Delimiter > into Rows. See file attached.

I hope that points you in the right direction.

Mynda

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Julie Connor, Sherry Fox, DOMINIQUE SAUVAGE, Jack Aston, Martin Delloca, Shoua Lee
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 880
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 237
Jessica Stewart: 219
A.Maurizio: 213
Aye Mu: 201
Hans Hallebeek: 185
Newest Members:
Kwaje Alfred Mogga
thong nguyen
Appiagyei Kofi Frimpong
Hilary Burchfield
Richie Wright
Adel Kock
Barbara Murray
Doug Milne
Siobhan Stringer
Rob Rooth
Forum Stats:
Groups: 3
Forums: 24
Topics: 6546
Posts: 28654

 

Member Stats:
Guest Posters: 49
Members: 32831
Moderators: 2
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel Office Scripts
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook

Sign up to our newsletter and join over 400,000
others who learn Excel and Power BI with us.

 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate
  • Sponsor Our Newsletter

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.