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: 7

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
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
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,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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