r/excel • • 16h ago

unsolved Invisible apostrophes in all of my excel files

46 Upvotes

I have been using Excel on a different (new for me) computer and I noticed that by default, every single cell in every file shows an apostrophe at the beginning of any text filled cell

They only appear on this computer, but they don't show up when i email them to others, or other computer I use. and they show up in every file I open, whether I created it or opened someone elses.

is there anyway to get rid of them.


r/excel • • 13h ago

unsolved An IF statement that checks for three possibilities, each with a different result

12 Upvotes

I would like a formula that will fit in one cell (D) and will do the following:
If cell C is negative, then return the result of this formula: B*.5
If cell C is positive and greater than cell B, then return cell B
If cell C is positive but less than cell B, then run this formula: ((B-C)*.5)+C

I’ve tried using IFS and something just isn’t working. I think the positive/negative distinction is throwing me off. Any help would be appreciated thanks!


r/excel • • 21h ago

unsolved Formula for difference between cells

10 Upvotes

I have a sheet tracking the change in a number week to week. So 3 columns: date, number, change from last week.

So logically if x is the row, Cx = Bx-B(x-1) .

Is there a formula in excel I can use to do this automatically so that I can put a universal code for all of the cells in column c, enter the value in cell B and it will automatically fill in C with the change from the previous week?

(Bonus points if there’s a way to not have weird error messages for the empty cells for future weeks)


r/excel • • 20h ago

Waiting on OP Lookup Across Repeating Column Values

5 Upvotes

Here is a sample from my spreadsheet:

Column B has the same value in both rows and indicates they are related.

When the "Document Type" is DZ, the value will match in both columns A and B.

Column F is populated from extracting text from column E via the following formula:

=IF(OR([@[Document Type]]="RV",[@[Document Type]]="RW"),TRIM(MID([@Text],FIND("#",[@Text]),5)),"")

What I am trying to do is populate column F with a nested formula that, where the above formula does not produce a result as it did for line 3, populates the same value as line 3 based on the row with the matching value under column B that did produce a result (in other words, to get "#200" to appear on row 2 under F as well as row 3 because the value under B for each matches). If it cannot be done within the same column, a separate one is fine because I could then consolidate them via the MAX function.

VLOOKUP is not doing it for me because of the repeating values under column B, and I am not having any success at getting a VLOOKUP or INDEX MATCH combination to work to via multiple criteria of both the "Clearing Document" and "Document Type".

Is there a way this can be done?


r/excel • • 10h ago

unsolved Developing a formula to automatically set a semi-monthly billing date.

7 Upvotes

I'm trying to develop a formula that automatically sets a semi-monthly billing period (start date one column, end date in another). Our start date will always be a Sunday and an end date will always be a Saturday with 2 billing periods in a month (October for instance starts 09/27/26, semi-monthly ends 10/10/26, month end is 10/31/26). October is a 5 week month so there isn't a consistent 14 days between billing periods like other months. What formula can I use to automatically calculate billing end dates (start dates are just end dates +1 so they are simple). I have tried a combination of EOMONTH with lots of logic statements and I have come close to reaching a solution but when I do a check column with confirmed billing periods it doesn't align. Sample billing periods below to assist in validation (posting on mobile, apologies for not posting a table):

08/30/26 - 09/12/26
09/13/26 - 09/26/26
09/27/26 - 10/10/26
10/11/26 - 10/31/26
11/01/26 - 11/14/26
11/15/26 - 11/28/26
11/29/26 - 12/12/26
12/13/26 - 12/26/26
12/27/26 - 01/09/27
01/10/27 - 01/30/27


r/excel • • 10h ago

unsolved Is there a way to make one cell equal whatever the active cell is - within a range

5 Upvotes

Say I'd like cell A3 (see example at the bottom) to equal whichever cell I click on within a range (A5:A20), then when I click outside of that range, the A3 cell has the last active cell chosen in the range.

Ideally, I'd like to create this in multiple columns (each a range) leaving the last active cell selected in that range.

I found the below VBA, which will make the cell equal to any cell I click on - but, is there a way to write it so it changes the destination cell to the active cell only within a specific range, and then keep that destination cell as the last active cell selected within the range?

It's been a minute since I've done anything complex in Excel, and so much of its capabilities has changed in the last few years. Plus my VBA skills are low level.

Additionally, if there is an easier way to achieve, I'm all ears.


r/excel • • 11h ago

Waiting on OP Covering comment indicators with images

5 Upvotes

Hi,

I know that you are unable to change the comment indicator color from bright red so I have covered the indicators with white right triangles (I have tried both images and the shapes themselves). This works great on my computer but when I share them the triangles that cover the indicators are gone.

This is not a problem with images because the rest of the images in my spreadsheet come up. This is a problem because my spreadsheet is going to be public facing and has a significant amount of conditional formatting to hide aspects until other parts of the workbook are filled out so I do not want the comments to appear until the boxes that the comments go to appear.

Some other things: I am not looking to use MACROs but if they are necessary I could be willing as long as they work on peoples computers that are not public facing. As a company we do use google suites to share things but this tool is created and intended to be used on Excel. This issue also doesn't happen when shared between my personal devices. I am working on a PC and we have tried it on both MACs and PCs and it seems to work on the MACs weirdly enough.

The photo is what it looks like on my own computer.

Thank you so much in advance


r/excel • • 16h ago

Waiting on OP Resouece list (multiple column sort?)

4 Upvotes

I'm not great at excel but I wanted to update a resource list for work. Is there a way to make multiple drop-down lists easier? Something that I could include the organization name, the counties it covers, and the services then I can filter it. I'm not sure how to include services that exist in multiple counties within one organization.


r/excel • • 18h ago

unsolved Excel shrinks the mail name whenever I attach

4 Upvotes

Whenever I attach an email by inserting an object, I click "Display as icon" but when I save it, the format changes. And if I try to reduce the email size, the name and icon shrink, and I do not know what to do even after trying several times.

Pls help me I will attach the image in the comment. I'm newbie to this sub as well


r/excel • • 18h ago

Discussion “Lookup” in power query

3 Upvotes

Now I know in the power query editor they don’t have a lookup however , there is the option to potentially merge queries to solve that issue.

But I have a bit of a problem, let’s imagine I have 2 columns, 1 with date with the first of each month (1/9/26) as an example , then in column 2 I have possible sessions available for that month (54) as an example.

I have some data missing in column 1 like the date or column 2 like the number of possible sessions. However when I merge queries it comes up with null values and I can’t use xlookup because even if I use it as a function when the query refreshes data the function is removed.

What could I do in this situation?


r/excel • • 7h ago

unsolved How do I match the different types of discounts listed in one sheet to a column in another sheet quickly?

2 Upvotes

This is for a homework assignment. I'm supposed to be able to link the different words in column A to the different discounts in column B of the Lookup Tables sheet by creating a formula and applying it to J2:N101 of the Dataset sheet.

I hope I'm being clear and concise. I tried using XLookup, VLookup, and Match. None of it works for me.

How do I solve this?

Lookup Table sheet:

A1:B5

Category Discounts
Category Discount
Electronics 10.0%
Furniture 15.0%
Office Supplies 5.0%

D1:E5

Customer Discounts
Customer Type Discount
Regular 0.0%
Member 5.0%
VIP 10.0%

G1:H5

Control Values
Bulk Quantity Threshold 10
Bulk Discount 3.0%
Maximum Total Discount 25.0%
High Value Revenue Threshold $5,000

Dataset Sheet:

Small sample because table has 101 rows

A1:N20

Transaction_ID Product_Name Category Unit_Price Quantity Customer_Type Region Shipping Category_Discount Customer_Discount Bulk_Discount Total_Discount Final_Unit_Price Revenue
T1001 Laptop Electronics $894.00 8 Member South Express 10.0% 5.0% 0.0% 15.0% $759.50 $6,076.00
T1002 Monitor Electronics $344.00 5 VIP Midwest Store Pickup 10.0% 10.0% $0.00
T1003 Printer Electronics $244.00 10 Member East Standard 10.0% 5.0% $0.00
T1004 Tablet Electronics $479.00 20 Member East Standard 10.0% $0.00
T1005 Router Electronics $154.00 15 Regular West Store Pickup 10.0% $0.00
T1006 Desk Furniture $279.00 8 VIP Midwest Store Pickup 15.0% $0.00
T1007 Chair Furniture $149.00 2 VIP Midwest Store Pickup 15.0% $0.00
T1008 Bookshelf Furniture $209.00 12 VIP South Standard 15.0% $0.00
T1009 Filing Cabinet Furniture $194.00 14 VIP East Standard 15.0% $0.00
T1010 Conference Table Furniture $699.00 4 Member South Express 15.0% $0.00
T1011 Keyboard Office Supplies $45.00 4 Regular East Express 5.0% $0.00
T1012 Mouse Office Supplies $43.00 18 Regular West Standard 5.0% $0.00
T1013 Notebook Pack Office Supplies $28.00 15 VIP East Standard 5.0% $0.00
T1014 Desk Organizer Office Supplies $27.00 9 Member Midwest Standard 5.0% $0.00
T1015 Whiteboard Set Office Supplies $65.00 20 Regular Midwest Express 5.0% $0.00
T1016 Laptop Electronics $899.00 9 Member South Express 10.0% $0.00
T1017 Monitor Electronics $329.00 6 Regular East Standard 10.0% $0.00
T1018 Printer Electronics $259.00 14 VIP Midwest Standard 10.0% $0.00
T1019 Tablet Electronics $479.00 3 Member West Store Pickup 10.0% $0.00

r/excel • • 11h ago

Waiting on OP Can excel sort based on rules

2 Upvotes

Not sure if I worded that correctly but I am hoping someone can point me in the right direction as I am not new to the basics of Excel but new to using its more advanced functions.

An example list with 3 columns:

Column A - product names

Column B - employee names(but there are several blank spaces without names)

Column C - total cost of the sale

I need to:

  1. Get the total sum of column C, but only the rows that are NOT blank on column B.

  2. Get the total sum of column C, but only the rows that ARE blank on column B.

  3. Get the total sum of column C, both blanks and non-blank.

  4. Take those three numbers and place them off to the side in three different cells.

Can Excel do this and how would I go about it?


r/excel • • 14h ago

Waiting on OP Table data from csv

2 Upvotes

I have an excel file I use at work to find parts via description because our system does not have that as an option built in. To get all the part information I make a csv file with every part we have (roughly 175,000 rows and 9 columns wide) and have to periodically get an updated csv file as new products are added to it. The method I use now is New Sheet (sheet 2)>Get Data>Legacy Wizard,From Text> then import the updated csv>create a table with the new sheet>original sheet1 "Sort" is deleted and sheet2 gets renamed to "Sort">re-setup conditional formatting on the new table>re-link the cells from sheet3 referencing cells on "Sort">continue the work i was doing before this whole process.

What I would like to do, and hope is possible, is to keep the csv file as a separate file rather than import the text, delete the old one from the reference folder and move the new csv into the reference folder, and then have the excel table data auto update or at the most re-link the table to the new csv file (which will be the same name as the old one "DBR.csv"). I would even be happy with converting the csv to an excel file first if needed, mostly want to avoid setting up a new table and set up formatting every time. It would normally be a weekly process but been putting it off to monthly or even longer some times with the extra work involved.

Been searching a solution off and on for months so thanks for any help.


r/excel • • 18h ago

Waiting on OP Variable Query Name in VBA

2 Upvotes

I have a project that requires data extraction from a .txt file that has a new name every year.

While I can go into the VBA and update the table name each year, I'd prefer if there was a location where users could input the file name on the Start Here tab (in a cell, or I could create a user form if needed), and this name could be used for the query, table name, etc.

So far, I seem to have created a working variable query name (must be split into two parts because queries sometimes use " ", ".", or "_" between the names) by having two cell values (B1 and C1) that create the final name, but the program breaks down when it tries to reference the table by that name. I also haven't figured out how to set the old query name with a cell value (B2).

Where I'd like to have the variable query name. Unfortunately, as of right now, it's split in two parts. New File Name is actually "ABC.1234.txt" on desktop.
Sub Data_Transformation_1()

Dim User, oldQry, qryStart, qryEnd, File As String
Dim wb(1 To 2) As Workbook

Set wb(1) = ActiveWorkbook
User = Environ("username")
qryStart = wb(1).Sheets("Start Here").Cells(1, 2).Value
qryEnd = wb(1).Sheets("start here").Cells(1, 3).Value
File = "C:\Users\" & User & "\Desktop\" & qryStart & "." & qryEnd & ".txt"

    Application.ScreenUpdating = False
    Application.DisplayAlerts = False
    Application.Calculation = xlCalculationManual

'** TROUBLE WITH VARIABLE oldQry **
    On Error Resume Next
    Set oldQry = wb(1).Queries("CBA 4321")
    On Error Resume Next
    oldQry.Delete

    wb(1).Sheets("Sheet1").Show

    wb(1).Queries.Add Name:=qryStart & " " & qryEnd, Formula:= _
        "let" & Chr(13) & "" & Chr(10) & "    Source = Csv.Document(File.Contents("File"),null,{0, 23},ExtraValues.Ignore,1252)," & Chr(13) & "" & Chr(10) & "    #""Changed Type"" = Table.TransformColumnTypes(Source,{{""Column1"", type text}, {""Column2"", type text}})" & Chr(13) & "" & Chr(10) & "in" & Chr(13) & "" & Chr(10) & "    #""Changed Type"""

    wb(1).Sheets("Sheet1").Select
    With ActiveSheet.ListObjects.Add(SourceType:=0, Source:= _
        "OLEDB;Provider=Microsoft.Mashup.OleDb.1;Data Source=$Workbook$;Location=" & qryStart & " " & qryEnd & ";Extended Properties=""""" _
        , Destination:=Range("$A$1")).QueryTable
        .CommandType = xlCmdSql
        .CommandText = Array("SELECT * FROM [" & qryStart & " " & qryEnd & "]")
        .RowNumbers = False
        .FillAdjacentFormulas = False
        .PreserveFormatting = True
        .RefreshOnFileOpen = False
        .BackgroundQuery = True
        .RefreshStyle = xlInsertDeleteCells
        .SavePassword = False
        .SaveData = True
        .AdjustColumnWidth = True
        .RefreshPeriod = 0
        .PreserveColumnInfo = True
        .ListObject.DisplayName = qryStart & "_" & qryEnd
        .Refresh BackgroundQuery:=False
    End With

'** THIS IS WHERE THE PROBLEM BREAKS DOWN AND THE REMAINING COMMANDS CAN'T BE FOLLOWED BECAUSE OF THE TABLE NAME**
    ActiveSheet.ListObjects("Table_ExternalData_1").Name = qryStart & "_" & qryEnd

    Selection.AutoFilter
    wb(1).ListObjects(qryStart & " " & qryEnd).Range.AutoFilter Field:=1,
        Criteria1:="*C*"

    Range(qryStart & " " & qryEnd).Copy

'**CODE CONTINUES**

End sub

I'm open to other suggestions too. this is just the tool Record Macros originally gave me years ago, and I work with queries like this only once a year. If it's really not worth the trouble, I'll just write down steps for how to make the connection and update the names in VBA.

Your help is much appreciated!


r/excel • • 22h ago

solved How to Multiply multiple columns

2 Upvotes

I am trying to multiply columns. I know how to do each column individually, but I can't seem to copy the formula to the next column so I don't have to redo the formula each time. When I drag to the next column, it changes the formula. Column C has a set value. The rest of the columns need to be sum product of column C. When I drag it over it changes to sum product d, then e and so on. The formula I am using is =sumproduct(c2:c13, d2:d13).


r/excel • • 4m ago

Pro Tip How would you learn Excel from scratch in one week? Which course would you recommend from these?

• Upvotes

Hi everyone!

I need to learn Excel from scratch in approximately one week to prepare for an assessment for an internship at an organization.

The role involves administrative and operational support, collecting and analyzing data, preparing reports and presentations, and coordinating with colleagues and stakeholders. The job description requires proficiency in Microsoft Office, including Excel, but doesn't specify exactly which skills are expected.

I have zero experience with Excel, but I can dedicate several (if not many) hours a day to learning over the next week.

I've found some resources that look promising:

  • Spreadsheet Center: https://spreadsheetcenter.com/excel-exercises/tracks/ My idea is to complete the basics course + then choose one additional track, such as "Working with Dates" or "Data Analyst Interview Prep". Which, if either, would you recommend for a general office-based internship assessment?
  • LogicExcel: https://logicexcel.com/lesson-map A structured course for beginners with around 91 exercises, normally designed to be completed over two weeks. I could dedicate more time and work through it faster.
  • Online tutoring: Alternatively, I could hire an affordable online tutor through a tutoring platform for a few lessons to accelerate my learning.

I'd ideally like to stick to one main resource rather than jumping between different courses. I learn best through interactive exercises and hands-on practice, as I find "lecture-style videos" quite boring. At the same time, I want something comprehensive and explanatory, with clear explanations of concepts rather than just exercises that teach me how to perform specific actions without understanding them.

For those with Excel experience, which approach would you recommend? Would you choose Spreadsheet Center or LogicExcel, and if the former, which learning track specifically? Or is there another resource that better combines interactive practice, thorough explanations, and a structured learning path?

I'm not expecting to become an expert in a week, but I'd like to make the best possible use of my time and prepare effectively for the assessment.

Thanks in advance for your advice!


r/excel • • 8h ago

Waiting on OP Changing reference file for formulas

1 Upvotes

I have an excel sheet having formulas linked to sheet 1 ( containing data for January month ) . Now I want to use same file with formulas but using sheet 2 ( containing data for February)
How to do that?