-
WSawckie
AskWoody LoungerHi Sam,
I didn’t understand the CorrespondingValue = & the difference in the way you found the last empty cell. I got what Pieter was saying in his second post, so I think I’m all good now!
Thank you guys for all your help! I always know I’ll find what I’m looking for on WOPR…
-
WSawckie
AskWoody LoungerHi Pieter…
I know the vlookup function, but this has to be done in VBA!
I used Sam’s code and it worked great, but I have a quick question on yours.
What is the difference between the code Sam gave me and the code you gave me. There seems to be a difference in the way you find the first blank cell as well as the actual code in the Select Case statement.
Is this just a difference in syntax preference, or is there something more?
Thanks!
-
WSawckie
AskWoody LoungerThank you Sam! This works beautifully and explains how I have to do a couple of other things I needed to do as well..
Thanks!
-
WSawckie
AskWoody LoungerOK, I think I just solved my own problem.
I took a look at the original code (down through recording a macro) and started commenting out lines one-by-one. It continued to work until I commented out
.zoom=false
So by keeping in the .zoom = false my code works to set my page to print the way I want it..
Thanks!
-
WSawckie
AskWoody LoungerSeptember 5, 2002 at 10:51 pm in reply to: Do you use a multicell array for this?? (Excel 97) #614508Hi Steve,
I have reposted my attachment because I attached the wrong file. ‘
As I mentioned in my other post the actual spreadsheet is much, much larger. The sheet that most of the data will come from goes out some 30 odd columns. Most of this data is not needed by a particular group of people who need to look at the data in a clean summary format (They also need to print out the summary)
Auto-filter will not work for what I am doing.
-
WSawckie
AskWoody LoungerSeptember 5, 2002 at 10:41 pm in reply to: Do you use a multicell array for this?? (Excel 97) #614429Hi Everyone,
I have attached a sample worksheet. Here is what I would like to do. I would like to type in a DMA number in Sheet 2 Cell B1. In the appropriate cells below this I would like all of the data that is in the DMA (from Sheet 1) to show up in the table.
Not sure what I have to do to make this happen? I think vlookups, offset, arrays???
Could someone help me
Thank you,
-
WSawckie
AskWoody LoungerSeptember 5, 2002 at 10:41 pm in reply to: Do you use a multicell array for this?? (Excel 97) #614506Oops..
I attached the wrong file!!!!
I have attached the correct file that I wanted and changed my original post with the right file.
The reason a VLOOKUP won’t work in what I am attempting to do is that there is more than 1 unit in each DMA. As you can see in my new attachment I want to see what units fall in that DMA…..
-
WSawckie
AskWoody LoungerSeptember 5, 2002 at 6:48 pm in reply to: Do you use a multicell array for this?? (Excel 97) #614455Thanks for your reply, but that won’t work for what I’m doing…
I actually have about 8 worksheets in the workbook and the summary sheet will be collecting data from each tab based on what DMA is typed in…..
-
WSawckie
AskWoody LoungerI did it all on my own!!!
I am so excited!!!!!! Here is what I did:
{=SUM(IF(Data!$D$3:$D$598=Scorecard!B31,IF(Data!$L$3:$L$598>0,IF(Data!$M$3:$M$598=””,Data!$J$3:$J$598,””))))}
Hans – Is using the ISBLANK better than saying > 0 ?
-
WSawckie
AskWoody LoungerHello..
I need help.. I think the appropriate way to solve my problem is with array’s, but I’m new at them, and still learning how they work.
In the following attachment I am trying to figure out the sales sensitivity based on the attached cash flow. I would like for the IRR & Payback (yrs) columns to compute automatically without having to manually enter each sales level (like I have done for 100,000, 120,000 etc.)
Please take a look at the attachment and let me know if you have any ideas…
-
WSawckie
AskWoody LoungerB5 (Investment) is only used in 2 calculations: IRR & Payback. The 18000 is a one time expense in year 0. It is not part of any of the COGS, Labor, or Fixed Cost.
-Leslie
-
WSawckie
AskWoody LoungerFor our purposes this is the same as cumulative cash flow. We us cumulative cash flow (profit) to determin payback.
I just threw this example together to provide more details of how it feeds into the table.
-
WSawckie
AskWoody LoungerThank you Andrew…
I appreciate your response (and in the future will remember to put XL in my subject line
I will try your solution in the future, but this time I think I will use Hans!
Thank you!
-
WSawckie
AskWoody LoungerHans…
Thank you very much! I was actually looking for the quick & dirty solution, so this will work.
Somtime in the future I will look into Andrew’s solution!
Thank you….
-
WSawckie
AskWoody LoungerDecember 12, 2001 at 10:54 pm in reply to: IF statment based on color of Cell (Excel 97/2000) #557831John….
I really like your answer. I used it and it worked great!
Thanks everyone!
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
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
-
Excel Macro — ask for filename to be saved
by
nhsj
2 hours, 24 minutes ago -
Trying to backup Win 10 computer to iCloud
by
SheltieMom
9 hours, 53 minutes ago -
Windows 11 Insider Preview build 26200.5570 released to DEV
by
joep517
23 hours, 39 minutes ago -
Windows 11 Insider Preview build 26120.3941 (24H2) released to BETA
by
joep517
1 day, 1 hour ago -
Windows 11 Insider Preview Build 22635.5305 (23H2) released to BETA
by
joep517
1 day, 1 hour ago -
No April cumulative update for Win 11 23H2?
by
Peobody
1 day, 3 hours ago -
AugLoop.All (TEST Augmentation Loop MSIT)
by
LarryK
1 day, 2 hours ago -
Boot Sequence for Dell Optiplex 7070 Tower
by
Serge Carniol
1 day, 17 hours ago -
OTT Upgrade Windows 11 to 24H2 on Unsupported Hardware
by
bbearren
1 day, 20 hours ago -
Inetpub can be tricked
by
Susan Bradley
4 hours, 4 minutes ago -
How merge Outlook 2016 .pst file w/into newly created Outlook 2024 install .pst?
by
Tex265
14 hours, 31 minutes ago -
FBI 2024 Internet Crime Report
by
Alex5723
2 days ago -
Perplexity CEO says its browser will track everything users do online
by
Alex5723
1 day, 12 hours ago -
Login issues with Windows Hello
by
CWBillow
2 days, 11 hours ago -
How to get into a manual setup screen in 2024 Outlook classic?
by
Tex265
1 day, 23 hours ago -
Linux : ARMO rootkit “Curing”
by
Alex5723
2 days, 23 hours ago -
Employee monitoring app leaks 21 million screenshots in real time
by
Alex5723
2 days, 23 hours ago -
Google AI is now hallucinating idioms
by
Alex5723
2 days, 23 hours ago -
april update
by
69800
1 day, 3 hours ago -
Windows 11 Insider Preview build 27842 released to Canary
by
joep517
3 days ago -
Quick Fix for Slowing File Explorer
by
Drcard:))
3 days ago -
WuMgr not loading?
by
LHiggins
1 day, 20 hours ago -
Word crashes when accessing Help
by
CWBillow
7 hours, 28 minutes ago -
New Microsoft Nag — Danger! Danger! sign-in to your Microsoft Account
by
EricB
3 days ago -
Blank Inetpub folder
by
Susan Bradley
2 days, 21 hours ago -
Google : Extended Repair Program for Pixel 7a
by
Alex5723
3 days, 10 hours ago -
Updates seem to have broken Microsoft Edge
by
rebop2020
2 days, 21 hours ago -
Wait command?
by
CWBillow
3 days, 4 hours ago -
Malwarebytes 5 Free version manual platform updates
by
Bob99
3 days, 17 hours ago -
inetpub : Microsoft’s patch for CVE-2025–21204 introduces vulnerability
by
Alex5723
4 days 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.