-
WSBrookBoy
AskWoody LoungerSay that your list is in A1:A5.
Enter the following formula in B1:=IF(A1=0,””,RANK(A1,$A$1:$A$5,1)-COUNTIF($A$1:$A$5,0))
Fill down to B5.
The IF function returns a blank if the value in column A is zero.
The COUNTIF function is used to subtract the number of zeros from the rank.I thought I had tried that very thing, but I must not have, because it works.
As always, I thank you kindly…
-
WSBrookBoy
AskWoody LoungerI dont know about Excel 2007. However, in Excel 2003 and prior, I don’t beleive you can do this. A Pivot Table is desiged to work using data supplied by a User. In your case the Hyperlinks are data just like the other data and numbers. When you generate a Pivot Table it is extracting data, not formatted data.
Once a Pivot Table has extracted data the User must tell the new Pivot Table how to format the extracted data. The Pivot Table Tools do not allow for formatting Hyperlinks.
Perhaps VBA could get around this but I would think not.
Regards,
Tom Duthie
Hi Tom,
Thanks for the update. The source that Hans sent applies to Excel 2007 and does state directly that pivot tables do not support active hyperlinks, so if there is a workaround, it would have to be in VBA.
Regards,
-
WSBrookBoy
AskWoody LoungerThanks, Hans. I had thought so, but could not find an authoritative source.
Very much appreciated, as always…
-
WSBrookBoy
AskWoody LoungerOK, I have created a small sample for you to view.
Note that in column B of the data, each cell contains a hyperlink (at least it does here).
Now note that in the pivot table to the right, that field contains text instead of the hyperlink.
Is there any way to have the pivot table show the hyperlink, or is this something that pivot tables just will not do? Again, this question applies to both Excel 2003 and Excel 2007.
And again, thank you for all your efforts. Very much appreciated.
-
WSBrookBoy
AskWoody LoungerI have a hard time visualizing what you’re talking about – could you attach a sample workbook (with sensitive information removed or altered)?
My apologies, Hans. In my original message I stated that there was “no pivot table”. What I meant to say was there was “no hyperlink, just text”.
Does that make it any clearer?
-
WSBrookBoy
AskWoody LoungerHi Hans,
Thank you, as always, for your able assistance.
I’m a little embarrassed to admit that I actually had created similar code myself, but it didn’t seem to work on an instance I found in my data, so I thought I was missing something. It turns out that the code does work on Alt+Enter returns, but in this one cell there is some other kind of return (it’s downloaded data) that the code doesn’t affect.
So there is nothing wrong with the code. The problem is within the data.
Thanks again. Very much appreciated…
-
WSBrookBoy
AskWoody LoungerI finally got it! Here is what finally worked for me:
ActiveWorkbook.PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _
“Tickets”).CreatePivotTable TableDestination:= _
“‘[” & wb1.name & “]PivotTables’!R3C1″,TableName:=”IBD Table”, DefaultVersion:= _
xlPivotTableVersion10Thank you for your efforts and for making me focus…
-
WSBrookBoy
AskWoody LoungerHi Hans,
Tried your version, but it did not work either. I get Run-time error 438, “Object doesn’t support this property or method.”
Very vexing…
-
WSBrookBoy
AskWoody LoungerThanks, Hans. Very much appreciated.
-
WSBrookBoy
AskWoody LoungerNovember 14, 2007 at 2:13 pm in reply to: Effect of manual/automatic calc Solver (2003 SP2) #1083796Just a minor addition to Hans’ response:
If you use Excel models that have intentional circular references (and many do in financial institutions), then you should set your calc mode to manual and enable iterations. Some such models will not even open unless these are the settings.
Regards,
-
WSBrookBoy
AskWoody LoungerHi Hans,
Exactly what I wanted. Just could not get my brain to function on this one, much appreciate the help.
Regards,
-
WSBrookBoy
AskWoody LoungerHi Steve,
Never thought of that. I’ll try it tomorrow when I’m back in the office. That would make the array UDF a lot simpler. The only downside is that the array UDF would not be able to stand on its own in this form. But I really like the idea.
Thanks much for taking a look and for the suggestion.
-
WSBrookBoy
AskWoody LoungerIt makes sense. I had thought that variable required a Redim, but it doesn’t.
Thanks again.
-
WSBrookBoy
AskWoody LoungerWell, it looks like your guess was on the money, because you did it.
What did you do that I was missing? I looked at your code, but I couldn’t see the difference at first glance. I thought that I was close, but I don’t know why I couldn’t make it work.
Thanks so much for your efforts. You are, once again, a lifesaver…
-
WSBrookBoy
AskWoody LoungerHi Hans,
Yes, I agree with your view, but as with so much else in life, this was thrust upon me. Nothing like a baptism of fire.
To answer your question, qd is the range of quarter dates, and each cell in the array looks at two quarters, qd1 and qd2. What I am doing is selecting all the cells under the dates and defining them as qd. In the array function I refer to the first quarterly date as qd(i) and the second as qd(i + 1). That arrangement worked in the single cell UDF and I thought it would work here as well.
I know the logic looks complicated but it works in the single cell UDF. Somehow, though, I’m not able to get it going in the array UDF.
Does this answer your question?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
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
-
7 tips to get the most out of Windows 11
by
Alex5723
2 hours, 12 minutes ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
1 hour, 54 minutes ago -
I installed Windows 11 24H2
by
Will Fastie
1 hour, 38 minutes ago -
NotifyIcons — Put that System tray to work!
by
Deanna McElveen
2 hours, 54 minutes ago -
Decisions to be made before moving to Windows 11
by
Susan Bradley
1 hour, 17 minutes ago -
Port of Seattle says ransomware breach impacts 90,000 people
by
Nibbled To Death By Ducks
3 hours, 7 minutes ago -
Looking for personal finance software with budgeting capabilities
by
cellsee6
4 hours, 29 minutes ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
15 hours, 48 minutes ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
20 hours, 10 minutes ago -
Neowin – 20 times computers embarrassed themselves with public BSODs and goofups
by
EP
1 day, 4 hours ago -
Slow Down in Windows 10 performance after March 2025 updates ??
by
arbrich
7 hours ago -
Mail from certain domains not delivered to my outlook.com address
by
pumphouse
13 hours, 8 minutes ago -
Is data that is in OneDrive also taking up space on my computer?
by
WShollis1818
23 hours, 48 minutes ago -
Nvidia just fixed an AMD Linux bug
by
Alex5723
2 days, 15 hours ago -
50 years and counting
by
Susan Bradley
6 hours, 7 minutes ago -
Fix Bluetooth Device Failed to Delete in Windows Settings
by
Drcard:))
1 day, 22 hours ago -
Licensing and pricing updates for on-premises server products coming July 2025
by
Alex5723
3 days, 2 hours ago -
Edge : Deprecating window.external.getHostEnvironmentValue()
by
Alex5723
3 days, 2 hours ago -
Rethinking Extension Data Consent: Clarity, Consistency, and Control
by
Alex5723
3 days, 2 hours ago -
OneNote and MS Word 365
by
CWBillow
3 days, 4 hours ago -
Ultimate Mac Buyers Guide 2025: Which Mac is Right For You?
by
Alex5723
3 days, 4 hours ago -
Intel Unison support ends on Windows 11 in June
by
Alex5723
3 days, 4 hours ago -
April 2025 — still issues with AMD + 24H2
by
Kevin Jones
20 hours, 18 minutes ago -
Windows 11 Insider Preview build 26200.5518 released to DEV
by
joep517
3 days, 16 hours ago -
Windows 11 Insider Preview build 26120.3671 (24H2) released to BETA
by
joep517
3 days, 16 hours ago -
Forcing(or trying to) save Local Documents to OneDrive
by
PateWilliam
4 days, 1 hour ago -
Hotpatch for Windows client now available (Enterprise)
by
Alex5723
3 days, 13 hours ago -
MS-DEFCON 2: Seven months and counting
by
Susan Bradley
2 days, 14 hours ago -
My 3 monitors go black & then the Taskbar is moved to center monitor
by
saturn2233
4 days, 10 hours ago -
Apple backports fixes
by
Susan Bradley
3 days, 16 hours ago
Recent blog posts
Key Links
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.