CheckEmoji Community · the emoji forum
🏠 Home 🆕 What's new ❓ Unanswered 🔥 Popular 📡 RSS Members 👥 0 online log in · register
Home › IT › Software › Microsoft Office Q&A: General Discussion (Word, Excel, PowerPoint...)

Microsoft Office Q&A: General Discussion (Word, Excel, PowerPoint...)

Started by Sophia Newman6 · · 👁 64 views · 1.6K replies

📡 Subscribe to replies

Participants Sophia Newman6Mark ReedDrew Hall3silverfox91hiddennomad13Kimberly Miller6Drew GarciaGeorge Nguyen3Walter Jackson48Kyle Johnson2neongull3slyhound32Benjamin Wilson7Edward Foster23northerncanyon16boldwalker2ruggedpanther2rustyranger12Jesse Williams14Hannah BarnesTerry Hayes2Robin White7driftingbear98Brenda Turner94 …
cosmiccrane79 cosmiccrane79 Newcomer
1 message
joined Apr 2011
#461 ·
My PowerPoint has started acting up and inserting random gaps between letters in my words. It’s happening regardless of which font I pick, and it doesn't seem to matter if I'm using specific characters or not. The word just ends up looking like I intentionally typed spaces where they don't belong—something like "w or d s l o o k l i k e t h i s." This isn't an issue with the character spacing settings, though. To make matters worse, whenever I try to open any other presentations, they show up with these same bizarre gaps. Everything was working perfectly fine until a couple of weeks ago. Around that same time, I hooked up a new printer to my computer, so I'm wondering if that somehow triggered some weird bug? It’s also possible I tweaked something in the settings, but honestly, I can't recall doing anything out of the ordinary. Any ideas? Thanks in advance!
Kyle Johnson2 Kyle Johnson2 Newcomer
1 message
joined Feb 2015
#462 ·
restlessheron19 said:I mean, what am I even supposed to say? I don't care about the payment slips... I'm looking for the logic... the code...
how to move specific cells from one sheet to a new sheet..
and I saw this might be a good example to use..............................any advice would be killer..

Since I've been getting slammed with questions on forums and via email, I decided to just drop a fully functional Invoice here, complete with all the Macro commands and formulas ready for download.
Take a look at how it runs, check out the Macro code, and read that tutorial with the explanations. That way you can actually see what you're getting into before deciding what to do. 😉

Fully Functional Excel Invoice
restlessheron19 restlessheron19 Active Member
69 messages
joined Mar 2011
#463 ·
Thanks..
I can see this is a task for those who actually know their stuff.. and I respect that..
But.. my current budget doesn't really allow me to hire a professional developer..
Maybe my answer doesn't seem entirely sincere.. because I want to build.. something.. let's call it sophisticated.. but I'm just a hobbyist without a firm.. someone who had the idea to make this.. and maybe one day.. who knows.. a real company..

I did a little experimenting with the example..
HOW TO DELETE MULTIPLE ROWS (EMPTY CELLS) ALL AT ONCE

There are different ways to go about it.. and yes.. you might end up not deleting the row you actually wanted..
For instance.. you open the file and put any random character in cell C20
The macro command deletes only the rows within the table.. but it leaves everything below the table untouched..
Why is that?
Well.. the title of the tutorial is.. how to delete multiple rows (empty cells) all at once
Kyle Johnson2 Kyle Johnson2 Newcomer
1 message
joined Feb 2015
#464 ·
restlessheron19 said:I was messing around with this example...
HOW TO DELETE MULTIPLE ROWS (EMPTY CELLS) ALL AT ONCE.................
The macro command only wipes out rows inside the table... it doesn't touch the ones below it..
Why's that happening?
The tutorial title is literally...how to delete multiple rows (empty cells) all at once

Yeah, but within a specific data range.

If you want to figure out why, you gotta understand how Microsoft Office—and specifically Excel—actually works. Basic rule: if you want to do anything (like formatting) to some text or cells, you have to tell Excel exactly what you're targeting. You've got to select the text, the row, the column, or the cell first. Once the data is selected, then you can actually do stuff to it.
Same deal here: if you grab the first three rows and delete them, you’ll still end up with the same total number of rows because Excel just replaces the deleted ones with new ones. It'll always maintain that count of 1,048,576 rows (or whatever the limit is), and the same goes for columns.

That tutorial shows a few different ways to kill rows. The old-school way, using GoToSpecial, or running a Macro to clear out empty rows.

When we talk about deleting empty rows, we're talking about a specific range, a table, or a selection. Deleting every other row in the whole sheet would be insane.
1. So, we can target specific rows we want gone. We can select adjacent or non-adjacent rows and wipe them (whether they're empty or not) using the GoToSpecial command (sticking strictly to those specific rows).
2. Picture a table covering the range A2:A1000 filled with data. For whatever reason, there are gaps where some rows are totally blank. Instead of clicking through every single one manually—which sucks when there are tons of them—we can just use a Macro to tell Excel to nukes all empty rows within that specific range. The line of Macro code would look like this:
Code:
(deletes all blank cells in the range A2:A1000)
Range("A2:A1000").SpecialCells(xlCellTypeBlanks).EntireRow.Delete

See, we don't even need to highlight anything because we explicitly told Excel the target is range A2:A1000. The macro will scan that area and kill every row where it doesn't find data. But, just like before, new rows will pop up underneath to make sure the sheet stays full. The row numbers stay the same, but the order of the table rows shifts up.
3. You could also use a macro to tell Excel to delete every empty row in Column D. That'll affect the rest of the rows too, since we're working with entire rows. Unless, of course, you're only trying to clear specific cells in that column.

Try this: set up two tables in Column A. Let's call them tbl1 (A1:A10) and tbl2 (A14:A20). Fill everything in. Now, delete the first five rows and watch what happens to tbl2 (it shifts up) and notice Excel still has its full set of rows ready to go.
cosmicbison19 cosmicbison19 Member
26 messages
joined Mar 2011
#465 ·
I was wondering if anyone might happen to know if there's a specific formula out there that allows you to sum up all the cells in a column based on their fill color—for instance, if they're highlighted in red. To be clear, I mean the cell background color itself, rather than just the font color.

thanks
Nicholas King Nicholas King Regular
716 messages
joined Jan 2023
#466 ·
cosmicbison19 said:Does anyone happen to know if there's a formula to sum up all the cells in a column that are colored—say, red—(I mean the cell fill color, not the font color)?

thanks


From what I gather—and I could be wrong here—you can't really pull that off without some actual programming.
Walter Jackson48 Walter Jackson48 Active Member
234 messages
joined Feb 2010
#467 ·
cosmicbison19 said:Does anyone happen to know a formula to sum up all the cells in a column that are colored—say, red? I mean the cell background color, not the font color itself.

thanks

Take a look at this; it might be what you're looking for.
Also, check out this link.
restlessheron19 restlessheron19 Active Member
69 messages
joined Mar 2011
#468 ·
Yeah... I see what you mean now..
I ran an example, and sure enough, it works exactly the way you described..
To be clear, I wasn't actually suggesting we reduce the total cell count of the Sheet itself..
I was thinking more along the lines of what you laid out in point 2..

So, if we're looking at the code for point 2, would it look something like this?
Code:
Public Sub DeleteRowOnCell()
Range("A2:A1000").SpecialCells(xlCellTypeBlanks).EntireRow.Delete
End Sub
restlessheron19 restlessheron19 Active Member
69 messages
joined Mar 2011
#469 ·
I'm working on a strategy... specifically, how to build this little program...
I won't dive into all the heavy details just yet...
But here is what I'm focused on right now...

For example... in a worksheet... let's call it... Budget...
All the automated math operations I need are performed there...
And then the "thing" waits for the next step...

In a new worksheet... let's say... Copy...
I've already set up a macro command to delete rows... just like in the previous example, point 2...

Now, I want to record a macro that would perform the following sequence...
1. From the "Budget" sheet, I copy specific cells over to the "Copy" sheet...

2. Once in the "Copy" sheet, I trigger the macro that’s sitting there ready to go, which deletes the necessary rows...

So... my question is...
While recording a macro... is it possible to "embed" another macro inside it?
Essentially... linking two separate macros together into one single macro...

If that's doable... then later on, when recording one macro within another... I could eventually have a chain of multiple macros...

Any advice?
Kyle Johnson2 Kyle Johnson2 Newcomer
1 message
joined Feb 2015
#470 ·
restlessheron19 said:So.. question..
is it actually possible to do this.. when recording a macro.. to basically "nest" another macro inside it?
Like.. linking them.. in this case two macros.. into one single macro..

If yes.. then later on when I record one of those macros... within a macro... there would be multiple macros.. any advice?

I already sent you some links to check out.
Specifically, at THIS link, there's a macro that actually runs several other macros—it calls them in a specific sequence. Basically, you trigger one main macro via a button, and that one handles calling all the others.

Code:
call exit 'calling procedure in module-3
call filter 'calling invoice filter procedure
call SaveAs 'calling procedure in module-1
call archive 'calling procedure in module-2

Also, you can download an e-book if you want to study Offline. Check out these links too:

- macros in Excel
- beginner's guide to VBA in Excel
Kyle Johnson2 Kyle Johnson2 Newcomer
1 message
joined Feb 2015
#471 ·
restlessheron19 said:yeah... I get it now...
So the code for point 2 would look like this?

Spot on. Just keep in mind—if you drop this macro directly into the specific Sheet where you want the deletion to happen, you're good. But if you toss it into a Module, you'll need to add extra lines to tell it which Sheet to target and all that jazz.😉
driftingmarlin70 driftingmarlin70 Newcomer
3 messages
joined Jul 2010
#472 ·
Got a super random, kinda dumb question, but I really need an answer here
I was trying to install the Polish version of Office 2010, but it just froze up and I had to hit cancel
Now I'm wondering if there's any leftover junk or registry trash still hanging around in my system? Any leftovers at all? (running Win7 Ulti sp1)
Douglas Garcia52 Douglas Garcia52 Newcomer
3 messages
joined Sep 2010
#473 ·
driftingmarlin70 said:got a stupid, totally pointless question but I really need an answer here.
I was trying to install Office 2010, but specifically the Polish version, and the installer just died on me when I hit cancel.
Now I'm sitting here wondering if there's any leftover junk—like total garbage—clogging up my registry from that failed attempt? (running Win7 Ult SP1)

Nothing should be left behind in the registry since the installation never actually finished.

But hey, if you want peace of mind, go ahead and check. If there's anything actually there, cleaning it out is easy enough. 😉
Jose Doyle5 Jose Doyle5 Newcomer
7 messages
joined Jan 2007
#474 ·
Hey there,

So, here’s the deal: I’m messing around in Microsoft Office 2003, and I hit this weird little snag. When I highlight some text and then hit the backspace key (the one right above the Enter key), instead of actually deleting the highlighted stuff, the cursor just jumps straight back to where I started the selection. It’s like it’s ignoring my command entirely.
If I hit the delete key, though, everything works perfectly fine and the text disappears like it should.

Is there any way to kill this annoying little feature if it's even something you can toggle off?

thanks
Nicholas King Nicholas King Regular
716 messages
joined Jan 2023
#475 ·
Jose Doyle5 said:Is there even a way to turn this annoying feature off—if it's even an option at all?

Actually, you need to enable the setting. 🙂

Go to Tools->Options->Edit and check the box for "Typing replaces selection".
Kate Williams Kate Williams Newcomer
2 messages
joined Feb 2011
#476 ·
image

Hello everyone! I am reaching out today because I could really use a little bit of guidance regarding some Excel work I am currently tackling.
I have set up a small dataset with columns A and B, spanning about 13 rows.

Right now, I am utilizing this specific formula:

=VLOOKUP(23,A1:B13,2)

Essentially, the formula scans column A for the number "23," and once it hits that match, it pulls the corresponding value from column B—which, in my current setup, displays the letter "f" down in row 14.

However, I’ve realized that relying on a single, hard-coded number isn't quite efficient enough for what I need to achieve! What I am actually dreaming of is a way to make this dynamic. Instead of just hunting for "23," I want the formula to sweep through column A and identify a whole range of numbers—say, everything from 22 to 25—and then list all the associated values from column B for every single one of those matches. It would be wonderful if it could display the entire sequence of results from that range at once. Does anyone know how I might go about adding that kind of logic to my sheet?
Kyle Johnson2 Kyle Johnson2 Newcomer
1 message
joined Feb 2015
#477 ·
Gregory Rogers20 said:So, what I'm actually looking for is to make that "23" dynamic. Instead of just hitting one specific number, I want it to scan through Column A, find everything in the 22 to 25 range, and then spit out all the matching rows from Column B. How do I bake that into the formula?

I don't even know if I can help you yet. You're being vague as hell. Where do you want the results? How should they look? Do you need everything shoved into one single cell or what? Give me some details.

Just like you explained, the function... VLOOKUP. The first argument is the "Lookup Value." Basically, you gotta tell the function WHAT it's actually looking for. Instead of just hardcoding that number "23," you can just point it to a cell address so the function knows what to hunt for. Check out this tutorial on VLOOKUP—it’s got a few solid examples to walk you through it.

If you're dealing with a massive spreadsheet—which I'm assuming is the case here—you can just set the criteria directly in column D. Your formula would look something like this:

If you want the result to sit in a single cell right under your table using that same function, just drop this formula in:

Just chaining a bunch of VLOOKUPs together like that? =VLOOKUP(D1, A1:B13, 2, FALSE) & VLOOKUP(D2, A1:B13, 2, FALSE) & VLOOKUP(D3, A1:B13, 2, FALSE) & VLOOKUP(D4, A1:B13, 2, FALSE) Total overkill. Honestly, just use CONCATENATE or TEXTJOIN if you're trying to be fancy, but man... that's a lot of typing just to smash some strings together. Simple, I guess. Brutal.

So, this formula basically mashes all those results you wanted into one single cell. If you plug the numbers into column D—say D1 is 22, D2 is 23, D3 is 24, and D4 is 25—you'll end up with (efgh). Simple as that.
Kate Williams Kate Williams Newcomer
2 messages
joined Feb 2011
#478 ·
Oh, I clearly wasn't being quite articulate enough in my previous message!
Look, let's just set aside that VLOOKUP discussion for a moment; I'm honestly not entirely certain if that's actually the right tool for this specific job.
What I am truly looking to achieve is this:
- scan through the range A1:A13 and identify every number that falls within the span of 23 to 28
- once you've located a matching row, grab the corresponding letter from column B in that same row
- then, neatly list all those letters in a new series of rows starting from row 14 down through row 26, one after another,

(To illustrate based on the task above, the formula should automatically detect the numbers 23, 24, 25, 26, 27, and 28, and subsequently populate the lower rows with the letters: f, g, h, i, j, and k.) Essentially, I want the system to find those values autonomously rather than me feeding it each exact number; I simply want to define the range of 23 to 28.

Does that make much more sense now?
Benjamin Wilson7 Benjamin Wilson7 Member
15 messages
joined Oct 2008
#479 ·
Just a quick thought here—I think I can knock this out with either of these two formulas (or honestly, just the second one):

Put the first one in cell A14:
=IF(AND(A1>=23;A1
Then put the second one in cell B14
=IF(AND(A1>=23;A1
- Just so we're clear, I used 23 and 28 based on your example

Looking at your screenshot, if you're planning to merge cells A and B (below the input) since you only really need the "letters," then you should just go with the second formula
Nicholas King Nicholas King Regular
716 messages
joined Jan 2023
#480 ·
Gregory Rogers20 said:Well, I guess I wasn't being clear enough.

You're still not being clear enough. 🙂

- Are we looking at actual data here, or is this just some random example you pulled out of thin air—if it's an example, maybe you could at least describe what the real data looks like?

- Are the values in column A unique?

- Are they immutable?

- Have they been sorted?

- As for the data in column B—is it sorted, fixed, or unique?

And so on. 😁

You must log in or register to reply here.

Log in Register

🔗 Similar threads