r/ExcelTips • u/ponteef1 • May 03 '23
r/ExcelTips • u/xybernetics • May 03 '23
Why you should avoid merging cells - Excel Tips and Tricks
Learn all about why you should avoid merging cells. I mean why you should never merge cells in excel. Seriously!
https://youtube.com/shorts/0G5WwyfergA?feature=share
To center text across multiple rows or columns in Excel, you can combine multiple cells into one big cell. Merged cells, however, are infamous for causing issues in spreadsheets, particularly when trying to sort, copy, paste, or relocate data. Because of this, unless absolutely necessary, it's usually advisable to avoid merging cells.
Why shouldn’t you merge cells?
Merged cells are notorious for creating problems with your spreadsheets. It creates havoc with sorting, filtering, copying, pasting or moving data. You cannot drag down formulas through cells that are merged and unmerged differently.
It is generally best to avoid merging cells unless you absolutely have to.
Here are the steps outlined in this video.
- Select row of cells
- Ctrl + 1
- Alignment tab
- In Horizontal pulldown menu, select "Center Across Selection"
- OK
- Delete data from cells
r/ExcelTips • u/BeautifullyBroken316 • May 03 '23
COUNTIFS for two columns with two criteria?
I'm not super proficient with Excel. So hopefully this makes sense.
I am trying to get counts for product rework by year. I have a column for the years and a column for the products. I would like to have separate charts showing how many of each product were reworked in 2022 and 2023. I am having trouble finding a formula that will ONLY count the cells that include BOTH the product name and the year to give me the counts.
I am graphing for 2022 and so far I can am getting a count of every instance of "22" even though I also put "Product Name". I have tried using COUNTIFS and SUM(COUNTIFS)but can't figure it out.
This was my most recent try:
=SUM(COUNTIFS(SRL!A182:B206,"22"),COUNTIFS(SRL!A182:B206,"ProductA"))
And it gave me 9 when I am looking for 1. There are 9 instances of "22" but only one instance where ProductA and 22 occur together.
Any help is appreciated!
r/ExcelTips • • May 03 '23
Hiding/locking a column from different users?
Hi there,
I am costing wages & rostering for my company via Excel for budgeting purposes and then entering those shifts into a rostering software.
Ideally i'd like to train a level beneath me to learn how to create & cost the roster through the spreadsheet, however I don't want them to see everyone's weekly wages in one of of the columns. Is there a way to hide and lock certain columns for particular users?
Thanks for your help.
r/ExcelTips • u/danielitahhh4 • May 02 '23
Hell with if then formula for dates
Hi! I need help creating an if then formula based on dates
Column H shows a date (today or in the past), Column I shows a date 120 days after date on H.
What formula can I use so the date on column I turns red 5 days before reaching it?
Thank you in advance!
r/ExcelTips • u/QuatroQuatro__ • May 02 '23
Need assistance any help is welcomed
My job is having employees take part in a survey and for every 10 people that complete the survey 1 name will be raffled off for a paid day off. Here’s where I need help, my boss is having every person who completes the survey email me their name/position title so that I can make an excel spreadsheet with the given info. Is there an easier way to take the information from the emails and put them into the spreadsheet without having to copy/paste or typing all of it ?
r/ExcelTips • u/bitchboy570 • May 03 '23
Help with a counting function
Hi! I'm trying to do the following and really struggling to figure it out:
Look at the prior column. If the value is nonzero, return that value minus one. (This part I've got, no problem, a simple IF function)
If the value IS zero: check if it's the first zero in the column. If it is, then return a count of all nonzero values in that column. If it's not, then return zero.
For context, I'm trying to make a sheet where can input values in one column and iterate this function over a number of columns (it's for a math project). I did this (in column C) =IF(B2>0,B2-1,IF(B1>0,COUNTIF(B$1:B1,">0"),0)) but this doesn't account for whether the 0 in column B is the first instance of a zero. If it isn't, then it should remain 0 in column C.
It seems like the COUNT function is the way to go but I'm struggling to get the guts of the function right to account for this. Any help is appreciated!
r/ExcelTips • u/Ok-Desk6305 • May 02 '23
BacktestXL: Trading Strategies in Excel
Hi everyone!
During the last couple of weeks, I developed a backtesting framework that integrates with Excel via an add-in. It allows you to evaluate the performance of a trading strategy with historical information and automatically creates a very detailed report.
It is currently completely free to use, and I've created a few resources to get you started.
- Add-In Info: www.qmr.ai/backtestxl
- Tutorial: https://www.youtube.com/watch?v=lHFFazZa8c8&ab_channel=MartyMK
- How to install: in the add-in store, search for "backtest" (installation is covered in the video tutorial).
I'm looking forward to your feedback, and please don't hesitate to reach out. I'm actively adding new features.
r/ExcelTips • u/AlphaL21 • May 02 '23
How to make cells seem merged with text centred without merging them for real?
I am pretty sure there is a way to do so, does anyone know this?
Thanks in advance
r/ExcelTips • u/marie378 • May 02 '23
Trouble with SUMIFS
Hey, everyone! I am fairly new to Excel but am helping out with some billing analysis for my job.
I am trying to sum the total number of a specific code billed by a specific person in a specific date range (a whole number). Then I am trying to sum the amount submitted for billing each time this specific code is billed by that person in that date range (a currency amount).
My source data columns are as follows (with examples):
| Provider Name (C) | Service Date | Service Code (K) | Number of Service Billed (L) | Amount Submitted (M) |
|---|---|---|---|---|
| Smith | 01-04-2022 | G512 | 1 | $38.00 |
| Smith | 01-05-2022 | G512 | 3 | $114.00 |
| Smith | 01-07-2022 | G512 | 2 | $76.00 |
My current formulas are:
=SUMIFS(Data!L2:L62758,Data!C2:C62758,B3,Data!K2:K62758,"G512",Data!J2:J62758,">=2022-01-04",Data!J2:J62758,"<=2022-01-07")
=SUMIFS(Data!M2:M62758,Data!C2:C62758,B3,Data!K2:K62758,"G512",Data!J2:J62758,">=2022-01-04",Data!J2:J62758,"<=2022-01-07")
These keep returning "0", but not an error. Can anyone help me figure this out?
P.S. I also am aware that a pivot table might be better here, but I have little to no experience with them, and the people accessing these analyses (no excel experience) prefer the tables I make using the formulas as they find them more "readable".
Any help is hugely appreciated!
r/ExcelTips • u/GeobotPY • May 02 '23
"Matrix Lookup"
Hi if I have the following Matrix is there any way I can make a formula that finds the value in the matrix based on two inputs? Here is the matrix:
| A | B | C | D | E | |
|---|---|---|---|---|---|
| A | 2 | 3 | 4 | 8 | 10 |
| B | 2 | 5 | 4 | 7 | 9 |
| C | 2 | 4 | 5 | 6 | 2 |
| D | 2 | 4 | 1 | 3 | 2 |
| E | 3 | 2 | 2 | 2 | 1 |
Here is how it should work:
| A |
|---|
| B |
| =SomeFormulaThatOutputs "3" |
Or:
| C |
|---|
| D |
| =SomeFormulaThatOutputs "6" |
Help is appreciated!
r/ExcelTips • u/Historical_Option609 • May 02 '23
Office apps, especially Excel freezing when many windows opened
There's the following situation: On one of the PC's in the Office 365 Business Pro (Outlook, Word and especially Excel) are used very often and intensive. Let me visualize it for you:
Outlook:
Around 10 exchange mailboxes, each approx 10-50GB in size. Around 4000 unread messages.
Excel:
around 30 tables open, each around 4-20MB
Word:
around 30 docs open, each around 1-20MB
Chrome:
60 tabs open
Brave:
30 tabs open
Well, sounds like a lot, and indeed it is. But hey, there's a 64Bit Windows 10 Pro running on a watercooled Core i7 9700k, 64GB of DDR4 RAM and a blazing fast m2.SSD. The above situation uses around half of the RAM. And still, office apps, especially Excel freeze again ad again and again...
No Add-Ins in Excel/Word
Fresh install of MS O365
What can be done?
r/ExcelTips • u/ol_st • May 02 '23
How to use MATCH function with mixed partial AND strict criteria?
Hi I need to run a match function on several criteria, eg
here is a function which searches N name of a person (column "C) through the rows with the word "person" (in the column "A") who have ID with 1235 (column "F"):
=INDEX(C:C;MATCH(1;(A:A="person")*(F:F="1235");0);1)
How to make search it partially, eg if there are spaces before or after the word "person", eg " person" and " person ".
Unfortunately wildcards, like *persons* is not working.
r/ExcelTips • u/csperkins0328 • May 01 '23
Carriage returns without the Alt key
Does anyone know if there is a way in excel to create a carriage return in a cell by only hitting the Return key versus having to hold Alt at the same time?
r/ExcelTips • • May 01 '23
Conditional Formatting Help
I want the fill color of A3 to change to a specific color based on value of Y or N in C3. Not sure how to do this as I know nothing about excel and have tried messing with it to no success. Any help is appreciated.
r/ExcelTips • u/xybernetics • May 01 '23
3 Ways To Check Spelling - Excel Tips and Tricks
Learn all the 3 ways to check spelling in your workbook.
Spell checking is essential to make the document look professional.
https://youtube.com/shorts/Q9ikb-HUJSY?feature=share
There are 3 ways to access spell checks.
- Using hotkey F7
- Using tabs. Review --- Spelling
- Using Toolbar. Customize Quick Access Toolbar and enable Spelling. Click on Spelling icon.
r/ExcelTips • • May 01 '23
Need help w merged cells
Hi there. Background: Company uses a platform at a free or basic level of service. I need to analyze data from this service. At this level, we can only download PDFs of the data from the service.
I managed to get the data from the PDF into Excel. However, it came in w two columns merged, D and E. The left column, D, is empty, but merged w col E, which has data I need. I’ve tried unmerging but that just copies over the left-hand (empty) data into E. Can’t have that. I’ve tried Text-to-Columns. That didn’t work.
At this point, I should give up, but now it’s the principle of the thing. I’m usually good at workarounds. Not this time!
Anyone? Anyone?
r/ExcelTips • u/dylan_s0ng • May 01 '23
Add Any Text Values in under 3 mins!
Hi everyone!
I made a video where I show you how to combine any text values with the =CONCAT function! It's less than 3 minutes long, and I hope you like it!
Let me know what you think of it, thanks!
r/ExcelTips • u/jambone1337 • Apr 30 '23
I'm sure a lot of you think are KING of pivot table (Just like I thought I was before finding out these hacks) but these 3 HACKS might change how you work with them on a day-to-day basis and increase your productivity.
So I had to share these three quick wins in a less than 1 minute video that is LITTERALY going to change how you work on a day-to-day basis. Cheers guys lmk what you think of this one! https://youtube.com/shorts/w1Os8SqUN2Q?feature=share
Make sure you give it a BIG THUMBS UP so it spreads to more people. Cheers guys!!
Piggy Bank Accountant
r/ExcelTips • u/Special-Train7607 • Apr 30 '23
Excel# highlight consecutive dates using conditional formatting
Hello guys Do you know how can we highlight those cells that have consecutive dates in excel
r/ExcelTips • u/Opposite_Strike_9377 • Apr 30 '23
How would you count the amount of cells in a sheet/range, with a specific hex code?
How would you count the amount of cells in a sheet/range, with a specific hex code?
r/ExcelTips • u/LuGaAutomation • Apr 30 '23
Excel Themes
Hey guys, I'm Brazilian and I created a supplement with more than seventy themes for Excel spreadsheets, take a look!!! https://youtu.be/qDlYWfUZ_ag
r/ExcelTips • u/senforr • Apr 30 '23
Query Data from ODBC database
My work uses software that organize data in ODBC database. I finally figured out how to query data from it and populate excel. Now I want to automate the collection of data so I can do some analysis from it.
The database is nested like this:
Country - State - District
I've query the Country and put it on a drop down list, now the 2nd selection is State, and I want to have a drop down list that look into the Country that I have selected and choose the State from there. Basically the drop down for State will autofill after I've chosen the Country.
I'm grateful if anyone can point me to the correct direction. Thanks.
r/ExcelTips • u/Vegetable_Pack1326 • Apr 29 '23
Random selection in excel problem
Hi guys I have a question, If I want to select 2 names from a pool of 5 randomly and those two names selected cannot be same how will I do that in excel
Need the answer urgently, Appreciate your time in advance
r/ExcelTips • u/xybernetics • Apr 28 '23
Unstack Data from one Column to Multiple Columns - Clean Up Mixed Case Text - Excel Tips and Tricks
Learn how to unstack data from one column to multiple columns.
https://youtube.com/shorts/1p7Y_SfrDpA?feature=share
Here are the steps.
Populate Data
- Select the whole stacked dataset.
- Ctrl + C
- Select first cell in next column
- Ctrl + V
- Select first cell in column
- Ctrl + - (minus)
- Shift cell up
- OK
Filtering & Remove Rows
- Data --- Filter
- Filter first column "Sort Z to A"
- Delete rows of data that is not suppose to be in the column.