Find and mid function usage problem

Joined
Jul 16, 2022
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,
This is my first question for this forum. Thanks a lot in advance for your help.
As I showed you in the image, I have to find the 2 numbers right of H. I have tried some formulas but I could not. Like this:
Excel Formula:
==FIND(Workings_1!C2,MID(Workings_1!C2,3,2))
How can I solve this?
 

Attachments

  • Untitled.png
    Untitled.png
    26.6 KB · Views: 6

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Your image is a little confusing because you didn't give us an example result.

Maybe this:

Excel Formula:
=MID(Workings_1!C2, FIND("H", Workings_1!C2)+1, 2)
 
Upvote 0
Solution
That worked perfectly but I have a question. Why you didn't use the firstly FIND function and why did put +1?
 
Upvote 0
Why you didn't use the firstly FIND function
I assume you mean, "Why isn't the FIND function in the first argument?"

The arguments to the MID function are

MID(text, startnum, numchar) where
text is the full text string--the full string in C2
startnum is the first character for the substring--we find the "H" by using the FIND function to get startnum
numchar
is the number of characters for the substring--2 because you want 2 digits


why did put +1?
The function FIND finds the "H" but you want to start with the first character after the H.
 
Upvote 0

Forum statistics

Threads
1,215,373
Messages
6,124,559
Members
449,171
Latest member
jominadeo

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