-
WSduthiet
AskWoody LoungerJ:
Some work arounds with Excel.
A common alternative is to have all sums at the top of the data not at the bottom, then when you insert a rows the total row is on top.
If you are only going to insert a few rows the following may get you there. I would begin by having adequate top and bottom margins for the worksheet. Next insert a page break just below the Total Lines. Just make sure you have a place in the workbook to make note of how many rows are currently printed. then compare that with the amount when new rows are inserted.
When you insert rows you either change the top and bottom margins a sufficient amount to have all totals back at the bottom, or use the Page Setup Scaling to reduce the size of print out from say 100 % to 90% or a combination fo both. Print preview the results until its what you want. A better version of the above is find out the height of the rows (hopefully they are all the same). Since ther are 72 Point to an inch you could set up a math formula in Excel that will quickly solve for the proper adjustments that you would then put in Print Setup for the amount of additional rows you inserted.
Good Luck
Tom Duthie
-
WSduthiet
AskWoody LoungerHANS:
You did warn to avoid circulars, looks like to other software failed to catch these. I will use Excel to do some data cleaning and start again.
Thanks,
Tom Duthie
-
WSduthiet
AskWoody LoungerHans:
Thanks for your assistance and warnings.
The actual data is a download from other software and has been checked to ensure all ownership is 100%. In addition, by query the other software already confirmed there are no circular ownerships . Too bad the blasted other software won’t do the tiered ownership computatons.
Based on your observations, I fully agree that Access is the best approach for this project.
If I run into further problems on this one I will post them to the Access Forum
Regards,
Tom Duthie
-
WSduthiet
AskWoody LoungerApril 27, 2007 at 2:59 pm in reply to: Copy and Move sheet holding over 256 characters (Excel 2003 or 2000) #1062671A workaround.
Using string formulas find out the Length (Function Len) of each cell.
For those over 256 use string formula Mid to break up too long cells
By example1. In a new empty cell put the formula =Mid(A1,1,255) where A1 references the cell that is too long
2. In a second new cell Mid(A1.256.511)
Continue until all text has been cut down
Then using copy then paste special turn the new cells from formulas to Values.
Latly delete the too long Text.
Now you can copy the Sheet to anywhere.
If you have a lot of work consider a Macro to repeat this taskTom Duthie
-
WSduthiet
AskWoody LoungerRushatiindia:
After review I beleive your problem is one of decimal places. The acutal annual rate for 7.50% compounded quarterly is not .0771 rather it is .0771358568. When you use this in the formula
FV(.0771358568/12,60,10,1) The result is 730.78. To have an exact match to the XIRR computation you would need to use the same decimal percision in both formulas. What that percision is would be up to the user.I think the same would be true to you second question.
Regards,
Tom Duthie
-
WSduthiet
AskWoody LoungerDear Rushatiindia:
Welcome to the Lounge.
I think I have an answer to Problem 1
=FV(0.075/4,60,10,,0) which 1,092.43
Less Amounts Invested 600 gives net return of 492.43
I check the result using a book of compound and annuities tables.As to problem 2, I leave that to someone else in the Lounge.
Tom Duthie
-
WSduthiet
AskWoody LoungerSee the below from Excel VBA:
FieldInfo Optional xlColumnDataType. An array containing parse information for individual columns of data. The interpretation depends on the value of DataType. When the data is delimited, this argument is an array of two-element arrays, with each two-element array specifying the conversion options for a particular column. The first element is the column number (1-based), and the second element is one of the XlColumnDataType constants specifying how the column is parsed.
XlColumnDataType can be one of these XlColumnDataType constants.
xlGeneralFormat General
xlTextFormat Text
xlMDYFormat MDY datexlDMYFormat DMY date
xlYMDFormat YMD date
xlMYDFormat MYD date
xlDYMFormat DYM date
xlYDMFormat YDM date
xlEMDFormat EMD date
xlSkipColumn Skip Column
You can use xlEMDFormat only if you have installed and selected Taiwanese language support. The xlEMDFormat constant specifies that Taiwanese era dates are being used.
The column specifiers can be in any order. If there’s no column specifier for a particular column in the input data, the column is parsed with the General setting.
Notes
If you specify that a column is to be skipped, you must explicitly state the type for all remaining columns or the data will not parse correctly.
If there is a recognizible date in the data, the cell will be formatted as a date in the worksheet even if the setting for the column is General. Additionally, if you specify one of the above date formats for a column and the data does not contain a recognized date, then the cell format in the worksheet will be General.
This example causes the third column to be parsed as MDY (for example, 01/10/1970), the first column to be parsed as text, and the remaining columns in the source data to be parsed with the General setting.Array(Array(3, 3), Array(1, 2))
If the source data has fixed-width columns, the first element in each two-element array specifies the position of the starting character in the column (as an integer; character 0 (zero) is the first character). The second element in the two-element array specifies the parse option for the column as a number between 0 and 9, as listed in the preceding table.
Good Luck.
Tom Duthie
-
WSduthiet
AskWoody LoungerTry this two liner
Columns(1).Select
imax = Worksheetfunction.Max(Selection)Tom Duthie
-
WSduthiet
AskWoody LoungerThe question you brought up is a common one. The solutions listed below are very good.
Just as an alternative I have attached a sample workbook that is often used at my work place and should benefit you and other users
The workbook attached has 3 Worksheets. The first is the Cover Sheet which sole purpose is to help keep you workbook better organized. The Tab names are Hyperlinks to the actual worksheets. It is currently protected. You can unprotect it and make any modifications you desire, but it should then be protected so users cannot delete, move or change the name of this sheet. Also in the attached workbook the “Last saved by” row does not update. If you want this option please use the VBA Editor and uncomment the VBA line Worksheets.Item(1).Range(“C18”).Value = ActiveWorkbook.UserStatus wherever it occurs.
If you change the Tab names or create new Tabs you must resave the workbook for the Cover Sheet to update.
Perhaps this may help. I also hope it can help others better organize their large workbooks.Regards,
Tom Duthie
-
WSduthiet
AskWoody LoungerYou are getting a different answer because you are working with two different numbers. expand the columns C and D and format the cells to show say 10 decimal places.
To get the same answer you should use the Round function. In the case of your formula the top one should be =Round(A1/B1,3).
Regards,
Tom Duthie
-
WSduthiet
AskWoody LoungerThe way that would be done without VBA would be to first copy the new values on the Top Active Sheet of your Group. Then Select the range of new values on the active sheet. Lastly, Choose Edit Fill Across Worksheets. When the dialog box opens selects All.
To see the code just record a Macro doing the above and then modify lthe code to fit within your Macro.
Good Luck
Tom Duthie
-
WSduthiet
AskWoody LoungerYou can also try
Format/Cells/Special/Phone Number.
This is available on the 2003 English version of Excel that I have installed.
Regards,
Tom Duthie
-
WSduthiet
AskWoody LoungerBrad:
Simple way without Macro would be
1. go to Cell A1
2. From the Edit menu choose the Go To command and click the Special Button
3. In the Go To Special dialog box select Current Region and click OK
4. For a second time from the Edit menu choose the Go To command and click the Special Button
5. In the Go To Special dialog box select Blanks and click OK
6. Excel will select all blank cells in the region and make one cell the active cell
7. In the active cell type = and press the right arrow key (Excel understands this to mean for blank cells get the data in the cell right of it
8. Hold Down the CTR key and press Enter. This will fill all the blank cells in Col A with the Values in Col BGood luck
Tom Duthie
-
WSduthiet
AskWoody LoungerTry the code below I think this does what you want
Regards Tom DuthieDim MyCount As Single
Dim NextNo As Single
Dim ColsToSize As Single
Dim r As SingleSelection.Columns(1).ColumnWidth = 25
NextNo = 2MyCount = Selection.Columns.Count
ColsToSize = MyCount – 1If MyCount < 6 Then
For r = NextNo To MyCount
Selection.Columns(NextNo).ColumnWidth = 15 / ColsToSize
NextNo = NextNo + 1
Next rElse
For r = NextNo To MyCount
Selection.Columns(NextNo).ColumnWidth = 55 / ColsToSize
NextNo = NextNo + 1
Next rEnd If
-
WSduthiet
AskWoody LoungerNot 100 % sure, but I believe its some type of template.
Regards,
Tom Duthie
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
9 hours, 48 minutes ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
5 hours, 32 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
8 hours, 22 minutes ago -
Discover the Best AI Tools for Everything
by
Alex5723
8 hours, 31 minutes ago -
Edge Seems To Be Gaining Weight
by
bbearren
9 hours, 14 minutes ago -
Rufus is available from the MSFT Store
by
PL1
6 hours, 42 minutes ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
1 day, 9 hours ago -
KB5061768 update for Intel vPro processor
by
drmark
15 hours, 58 minutes ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
12 hours, 9 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
1 day, 5 hours ago -
Office gets current release
by
Susan Bradley
1 day, 7 hours ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
2 days, 22 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
2 days, 6 hours ago -
Stop the OneDrive defaults
by
CWBillow
2 days, 22 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
3 days, 8 hours ago -
X Suspends Encrypted DMs
by
Alex5723
3 days, 10 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
3 days, 11 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
3 days, 11 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
3 days, 12 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
3 days ago -
Enabling Secureboot
by
ITguy
3 days, 7 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
3 days, 20 hours ago -
No more rounded corners??
by
CWBillow
3 days, 16 hours ago -
Android 15 and IPV6
by
Win7and10
3 days, 5 hours ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
4 days, 8 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
4 days, 11 hours ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
4 days, 6 hours ago -
Windows Update orchestration platform to update all software
by
Alex5723
4 days, 18 hours ago -
May preview updates
by
Susan Bradley
4 days, 6 hours ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
3 days, 21 hours ago
Recent blog posts
Key Links
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.