excel macro

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Did we not solve your problem in a previous thread?
 
Upvote 0
Here is a macro that you can try...
Code:
[table="width: 500"]
[tr]
	[td]Sub DistributeOddEven()
  Dim Arr As Variant
  Arr = Range("A2", Cells(Rows.Count, "A").End(xlUp))
  Range("D2").Resize((1 + UBound(Arr)) / 2) = Application.Index(Arr, Evaluate("2*ROW(1:" & UBound(Arr) & ")-1"))
  Range("E2").Resize(UBound(Arr) / 2) = Application.Index(Arr, Evaluate("2*ROW(1:" & UBound(Arr) & ")"))
End Sub[/td]
[/tr]
[/table]
 
Upvote 0
Hi mumps,

csv doesnot support telugu language..so we cannot do anything with CSV..
however, we are good with excel..that is fine..

Now, i have been working on multiple scenarios of data handing with excel programming. Thus created a new thread.
appreciate for your reach out..:laugh:
 
Upvote 0
Thank you, Rick..Let me check..

Edit: Worked like a charm..
 
Last edited:
Upvote 0
Hi Rick

These days, i have been getting data in excel in a slightly different way

1. below link gives an idea of problem definition
https://www.dropbox.com/s/95m8fhovqh8nmgl/Problem Definition with Initial Data in Column A.jpg?dl=0

2. below link helps to get an idea how data should appear after running macro
https://www.dropbox.com/s/ti76xjayth4gi1t/Final Output After running macro.jpg?dl=0


Note: 1. Rows with no data should not be present in final output of excel
2. row with garbage should not be present in final output of excel
 
Upvote 0
Hi Rick & Friends,

Could you please help on above problem definition

Thanks & Regards
 
Upvote 0

Forum statistics

Threads
1,223,703
Messages
6,173,983
Members
452,540
Latest member
haasro02

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