Need excel expert

kashif.special2005

Active Member
Joined
Oct 26, 2009
Messages
443
Hi,
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
1<SUP>st</SUP> Question:- I am applying loop in cells that if cells value is alphanumeric than convert it into numeric and if cells value is numeric than next loop
<o:p> </o:p>
I am using this code but it is not working
<o:p> </o:p>
For j = last_row To 2 Step -1<o:p></o:p>
<o:p> </o:p>
cell_value = Cells(last_row, 1).Value<o:p></o:p>
<o:p> </o:p>
If IsNumeric(cell_value) = True Then
Next j<o:p></o:p>
Else<o:p></o:p>
Cells(last_row, 1).Value = Value(Trim(Mid(Cells(last_row, 1), Cells(last_row, 1), Len(Cells(last_row, 1))), Cells(last_row, 1)))<o:p></o:p>
End If<o:p></o:p>
Next j
<o:p> </o:p>
<o:p> </o:p>
2<SUP>nd</SUP> Question:-<o:p></o:p>
<o:p> </o:p>
'Range("H2:H" & last_row).Formula = "=Value(TRIM(IF(ISTEXT(A2),MID(A2,2,LEN(A2)),A2)))"
<o:p> </o:p>
When I am applying above formula it is working fine, but when I am applying below formula it is giving me an error.
<o:p> </o:p>
Please help<o:p></o:p>
<o:p> </o:p>
'Range("H2:H" & last_row).Value=application.WorksheetFunction.TRIM(IF(ISTEXT(A2),MID(A2,2,LEN(A2)),A2))
<o:p> </o:p>
<o:p> </o:p>
Thanks,
Kashif.<o:p></o:p>
 
:)

Did OP ever find his Excel expert?


Oh pick ME! ME!

let's see... A squared + B squared = do not square this # > If_Only_I_Could_Make_A_Meaningful_Title =nulll

What can I say - I'm a genius. ;)
 
Last edited:
Upvote 0

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
JackDanIce, I've a feeling we're not in Kansas any more!
 
Upvote 0
And that my friend did make me laugh out loud (OMG I made an actual LOL!)
 
Upvote 0
JackDanIce, I've a feeling we're not in Kansas any more!

How can there be a Kansas if you're living in the UK? ;)

That would be like me saying "OMG- we're not in Stonehenge anymore!"
 
Upvote 0
I realize that my last post was not very helpful so as my contribution this forum, I took some time to come up with a custom vba so that our regular experts on the board can take a little breather from the daily grind.

Code:
Sub Must_Make_Kashir_Happy()
' Find fastest Excel expert on internet
' Coding by Burrgogi VBA jedi in training
Dim Title as String
Dim Problem as String

Title = "Need Excel Expert"
Problem = "My Problem"

For ea. Answer, run test
Result = noJoy
MustGetAnswer
Loop
	vbTimer 60 seconds
		MakePost = "I AM WAITING!"
	Wait
	If Thread Content = Old
Back To Loop
	If Thread Content  = New
End Loop
End Timer
End Sub
 
Upvote 0
Hey Super Ferret, thanks for pointing that out to Kashif ... yet still no feedback.
 
Upvote 0

Forum statistics

Threads
1,224,596
Messages
6,179,807
Members
452,944
Latest member
2558216095

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