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>
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Re: Penguin for sale

Before anything else ... why, oh why, oh why, do you never use a meaningful thread title?
Because he still gets replies regardless of the thread title?
 
Upvote 0
Weaver and Glenn, you're both banished to the naughty step!

Ruddles is it hard cash you want for the penguin or can I bater by offering a genetically modified disease free Spanish cucumber? Ok, I'll also include a bag of German brussel sprouts, but that's my final offer!
 
Upvote 0
Re: Penguin for sale

Yeh but the most important question has still not been answered.......how much is the Penguin? :rofl:
 
Upvote 0
Re: Penguin for sale

Ooh, I'd bend over backwards for a nice Spanish cucumber (to coin a phrase).

As for the penguin, I'm afraid you're all too late: a Nigerian prince has offered me part-share of a multi-million dollar inheritance and little FrozyToze has just set off down the River Severn en route for Lagos with a canister containing my life savings strapped to his left leg.

In a few weeks time I shall be rich enough to buy this entire Web site! :nya:
 
Upvote 0
Oh dear Ruddles, I think you didn't read the small print of the Nigerian Prince's multi-million dollar inheritance... you forgot to include your bank account details and your national insurance number for the Prince to make a small withdrawl in order to then deposit the inheritance. Honestly, back to the naughty step, go on, be gone with you!

I, on the other hand, donated to a poor desolute orphan of a child, who's only friend, was once a 4-legged goat who had unfortunately met it's demise, quite seriously, in an accident involving scissors and ginger.

It's karma, what goes around...
 
Upvote 0
I saw a sign for a yellow bricked road, some discarded pair of red women's shoes and a slightly battered, worse for wear house, who's owner hadn't paid it's renewal for protection against acts of God insurance.

Would that sign be the way to the mystical expert in Excel?
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,808
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