Questions tagged [excel-formula]
This tag is for Microsoft Excel questions where the question or answers are specifically about the structure, syntax, or output of an Excel formula.
30,884
questions
0
votes
0
answers
6
views
Looking for vehicle allocation based on the the number of employees
I'm looking for the specific function in excel which will allocate the entire vehicle available data based on the number of employees work.
I have unit wise allocation of vehicle and the total number ...
0
votes
2
answers
58
views
Tranpose row into column and shift row down
I have an Excel file with this data format.
Now I want to transform those data into column, like this.
How should I do that with Excel Formula or VBA scripts?
I have tried using Transpose paste but ...
0
votes
0
answers
34
views
Downloading an XLS from Google Sheets into LibreOffice, the JOIN and TEXTJOIN formula do not work until uppercased
Heres a trivial Google Sheets doc to demonstrate the problem I'm having
https://docs.google.com/spreadsheets/d/11n3Z1DjZAv_CapmRumWInzhC0mQ1jBVlbvg347T1358/edit?usp=sharing
It concatenates 3 string ...
2
votes
2
answers
94
views
excel convert class schedule into workload
I am a teacher who needs to convert some class schedule into workload, in Excel. But I would like to make it to automatically convert. See the table below, where BEFORE letters M-A-N (Morning, ...
1
vote
1
answer
35
views
Excel Formula to highlight range based on date range
I'm trying to figure out how to create a formula to call out an entire range where there is a date less or equal to today's date.
In this example, I have a number 600259 (Column A) where there are ...
0
votes
0
answers
29
views
Inconsistent #Value! error using Left/Find function for Date/Time [duplicate]
I am trying to pull the DATE out of a combined Date/Time set of data, and the LEFT/FIND formula works [=LEFT([@[Date/Time]],FIND(" ",$Q259))] for the whole worksheet except for a specific ...
0
votes
2
answers
55
views
Unique Records using a subset of columns
I have a series of dynamic array formulas for processing data. I'm trying to get the last piece sorted out.
I have data that resembles this:
I want to return data that looks like this:
The columns ...
0
votes
1
answer
32
views
SUM Until Certain Value is Reached Based on Criteria Excel
I have a dataset where I am manually summing $ values of Sales Orders to reach a Target $ amount. I would like to automate this process as much as possible, instead of manually going down the table ...
1
vote
1
answer
36
views
Formula cell in excel shows #NAME?
I am attempting to add an excel formula to calculate Upgrade Effort based on certain conditions that will refer to other columns in the same excel sheet.
Below is my formula
=@IFERROR(@IFS(C3="...
0
votes
0
answers
42
views
SUMPRODUCT formula not working to highlight duplicates in one column, but not another?
I have a sumproduct formula to show when an employee appears duplicate in column B, but column M value is different. It doesn't appear to be working, any ideas?
=SUMPRODUCT(--(B:B=B1),--(M:M<>M1)...
1
vote
2
answers
45
views
Excel - Concat values from multiple dynamic arrays into single cell
I have 3 dynamic array formulas.
In the below example, they would be the columns "X", "Y", and "Type".
For the purposes of example answers, let's use X#, Y#, and Type# as ...
-4
votes
0
answers
34
views
Convert éþeèà to epeea [closed]
I have a text in the form éþeèà and want to convert it to epeea using a formula.
How do I do it?
0
votes
2
answers
70
views
Excel Remove all substrings in list from a string
I've got this almost there (I think), but I've got some strings (items) where its only removing the last substring (color code) from the list instead of both (sometimes items have 1 color code, ...
0
votes
1
answer
27
views
COUNTIFS formula assistance
I am using the countifs formula to count products with a specific product number and in a state of available.
When I type the formula it looks like:
=COUNTIFS('APS22'!M:Q,210-000742-005,'APS22'!M:Q,&...
-4
votes
0
answers
38
views
I need to find a dynamic formula where I have a list of product names and it returns a relevant value [closed]
I need to find a dynamic formula where I have a list of product names, it extracts the relevant part of the product name and does a vlookup against logic to return the correct value.
EG
Lily Mini Bag ...
0
votes
3
answers
68
views
Apply an independent formula till the range of Dynamic Array Formula
In DataSet1 the first two columns come from a FILTER() function in Excel. The third column is a sum of corresponding row from Dataset2.
I want the "Total Nums" column also to be dynamic and ...
1
vote
1
answer
31
views
Is there a way to make a dynamic condition for a SUMIF formula per an array?
So pretty much I'm looking for the ability to make a dynamic condition for a SUMIF statement in which the condition is if the condition range equals one item or another in an array. The result of the ...
0
votes
0
answers
58
views
Need help constructing an Excel formula to calculate staff movements
I have the current volume of staff, as at today.
I have the volume of staff expected to start in the coming months.
I have the volume of staff expected to leave in the coming months.
I also have to ...
1
vote
1
answer
54
views
Find a record in column A and B if match return with count column C
Would you mind assisting me by generating a summary derived from the matching of columns A and B in the table below? If column A and B is not match return 0.
Exsample:
Column A: Teddy
Column B: DP
...
-3
votes
0
answers
20
views
How do I write an Excel Formula for multiple variables in one cell formula [closed]
I am trying to set up a calculator for quick price quotes on a product that changes in price according to quantity breakouts. Maybe I am making it too complicated.
For instance, for one product, the ...
0
votes
1
answer
47
views
IF cells in column A contains a dates that are 7 days before today's date then output the date and the value in the column next to it in a list
I have a vehicle compliance sheet:
Column A contains dates of next vehicle inspection.
Column B contains vehicle registration numbers.
I am looking for a formula that will look up dates in column A ...
1
vote
1
answer
55
views
Build an Excel Worksheet that lists information from another worksheet in an opposite format
I have an Excel worksheet (TAB1) that lists items like this.
Class
Type
AA
A
AB
B
AC
A
AD
C
So, there are unique Class values, but the Type values may be associated with more than one Class.
I'm ...
1
vote
1
answer
45
views
Copy the value into another column if one column value matches to the condition, else paste the next matching value
I want to copy the values from column A to column C only if the Z scores in column B are within the range of -2.68 and 2.68, and I do not want any empty cells in column C. I have tried filter formula, ...
0
votes
1
answer
50
views
Using Excel (formula or VBA) to substitute from a named table
I'm hoping to use Excel to generate HTML for me with substitutions. I've used Excel for HTML generation plenty of times before to quickly convert a lot of identically formatted Word document content ...
0
votes
0
answers
25
views
How do I properly reference external Excel files to copy and paste specified values based on matching dates?
I have two excel files. One is named "Flow Levels" while the other is called "Rainfall NOAA". The purposed of the Flow Levels file is to graph the relationship between flow levels ...
0
votes
3
answers
68
views
Excel order of process question (REGARDING IF and AND)
So when you use IF() and AND() at the same time, does excel run all the logics even if it fails on the first logic?
Example:
IF(AND(A1=1, A2=2, A3=3), "YES!", "NO!")
So lets say ...
2
votes
4
answers
71
views
Excel filtering - remove rows with no value
I have reached the limit of my excel skills on this problem... I am compiling a birdlist on Excel, but instead of having each bird on the list, I only want to display the ones that have been seen - in ...
-3
votes
1
answer
37
views
i have a problem in Excel i have a series of mobile number 9892321412 7890234134 6789456723 that have in between and output want is space,space [closed]
Desired output 6778906778 , 3456784567 it also has ectension with space with vba or with formula I have tried with replace but it does not match can you guys suggest a better option and substitute ...
1
vote
0
answers
42
views
Count number of partial matches between two columns in a table
I am attempted to count the number of partial or complete matches between two columns in a table with some limitations:
IA_DX
AUDIT_DX
Count
I21.0
I10, I21.A1, I21.0
1
L08.0
L08.0
1
D71
D71.9
0
...
-1
votes
0
answers
51
views
Converting an Excel formula to c# [closed]
I'm trying to convert some Excel formulas into C# code, and I'm a bit lost.
I have the following...
(B3 * B9 * (1 + B9) ^ B4) / ((1 + B9) ^ B4 - 1)
I've had a go at writing it in c# (see below), but ...
0
votes
0
answers
19
views
Extract different IDs from a single cell in google sheets [closed]
I have different IDs in a single cell, added in multiple lines. I want to extract those IDs. For some cells, its only one value, so its not an issue, but for some cells i have multiple lines, with ...
0
votes
1
answer
62
views
Stuck in converting one complex formula into VBA
Below is the formula:-
=DROP(REDUCE("",A2:INDEX(A:A,COUNTA(A:A)),LAMBDA(x,y,LET(z,BYROW(C2:C5,LAMBDA(v,SUM(N(v=x)))),VSTACK(x,TAKE(TOCOL(IFS((D2:D5+z)=MIN((D2:D5+z)),C2:C5),2),1))))),1)
...
0
votes
5
answers
100
views
PRODUCTSUM per Group with IF Statement
I need to be able to count Unique values, if some criteria are true and I am having a trouble.
Sample Date:
Y/N
ID
WeekNum
True
AAA
46
True
BBB
46
False
CCC
46
False
AAA
47
True
BBB
47
False
...
0
votes
2
answers
46
views
Create array of 0 and 1s that changes the position of the 1
I want to create an array in Excel that contains zeros and ones and shifts the 1 for each row I copy the array down.
Example:
Row 1: 1, 0, 0, 0
Row 2: 0, 1, 0, 0
Row 3: 0, 0, 1, 0
Row 4: 0, 0, 0, 1
I ...
-1
votes
1
answer
42
views
Create count that doesn't add duplicates over two columns
I've got a unique question which I've spent sometime trying to find the answer for but I've found it difficult to search for.
The table below has an example of what data i'm using (date and person ...
1
vote
3
answers
56
views
Excel sumifs formula with condition where first character of criteria_range is letter (a-z)
I am facing an challenge where I need to make a SUMIFS formula referencing data in another sheet where I need to sum values if first character of string in one of criteria_range columns is any letter (...
1
vote
2
answers
64
views
How to sum a row based on changing months that I want to specify?
Hello I have an excel/sheets file, I am trying to automate calculations based on the month I've selected.
My table looks like this, however for posterity imagine it has twelve full months. I am trying ...
0
votes
2
answers
57
views
difference time in 2 columns in excel with full date and hours
In excel in two columns I got data like this:
2023/11/30 16:59:43 | 2023/11/30 16:56:44
and I want to get in new column difference in seconds. How to do it?
-3
votes
0
answers
34
views
Ageing Stocks considering Purchases [closed]
enter image description here
Considering i have purchase 90+42 units in two different months what would be the current ageing of stocks if i have 122 units as of today
0
votes
0
answers
35
views
make two columns the same length based on certain time intervals in excel
I have two excel sheets with two columns 1- data and time, 2- flow data. they have two different lengths (911315 rows, 14212 rows) because data was collected at different time intervals. I need to ...
-2
votes
0
answers
26
views
Excel INDEX MATCH to get a formula from another table (not value) [closed]
I have 2 tables. On table A I have a column with certain header names
On table B I have the same header names and I have a formula in the rows of table B.
My desired result will be the formulas from ...
0
votes
2
answers
40
views
Excel XLookUp table array - using column numbers instead of Addresses
I am trying to find the first populated cell to the right of the current cell, and return the header value.
And if I hard code, I've got that:
=XLOOKUP(TRUE,TBL_Plan[[#Headers],[2023-12-04]:[2024-01-...
1
vote
1
answer
48
views
Excel Filter function on whole column as criteria
I've got some issue with the filter function. When I'm using weeknum in a filter fuction on a whole column I get a Value Error. I guess I could solve it with the aggr. function but I can't get the ...
0
votes
0
answers
34
views
Excel popup 'view cannot be displayed because it contains more data than is supported'
I encountered a new a popup in Excel Online that I don't understand. I can't figure out the origin of the issue. The excel is built of tables, most of columns have a formula which length is about 8000 ...
0
votes
1
answer
49
views
How to count values in one column based on another in cells
Suppose I have a table tracking an employees leave at a business. It has the reason for leave, leave type, total days and day range. For this, only the type and total days matter.
I want to be able to ...
-1
votes
0
answers
46
views
Excel INDEX MATCH to get a formula from another table (and not the usual value) [closed]
I have 2 tables. On table A I have a column with certain header names
On table B I have the same header names and I have a formula in the rows of table B.
My desired result will be the formulas from ...
0
votes
1
answer
83
views
How to use VLOOKUP if the look up value appears multiple times, and I need the corresponding information each time it appears
I have one spreadsheet that tracks all the info I need based on job numbers. A job number can appear several times on the spreadsheet with different information. For example job number 1234 is on the ...
0
votes
2
answers
63
views
Excel - Find first row where value in one column is greater than the value in another column
If I have a table of values like:
Row
A
B
C
1
Seattle
1
5
2
Portland
2
4
3
San Francisco
3
3
4
Los Angeles
4
2
5
San Diego
5
1
Is there a formula in excel for me to find the first A going down ...
0
votes
1
answer
42
views
Excel (365) Create array that shows matching values within long text cell
I'm using Excel for MS 365 and I could not find how to assemble either a text or an array of pieces of a long text that has match values of another column.
I Tried to use TEXTJOIN, but all my attempts ...
0
votes
2
answers
77
views
Excel Lookup with repeated values in Range
Hello and thanks in advance!
I am trying to find a way to lookup values (without going into vba).
I have a table like this with hundreds of rows. (Excel 365)
In another sheet, I have this summary ...