Could you please help me in below calculations?
Problems are highlighted in red colour in the snapshot below.
I put 1/Jul/21 in B1 and 1/Jul/23 in C1,
Then this:
YEAR(C1)-YEAR(B1)
gives the result 2.
Use month() etc to complete the others, as you provided an image I just did one.
Related
I saw some tutorials to make the unique list of names dynamically in Excel. but when I applied this formula to my data I got zero instead of the result value. I tested this formula on sample data but Still get zeros.
the formula is :
=IFERROR(INDEX(Table2[names],MATCH(0,INDEX(COUNTIF($E$5:$E$13,Table2[names]),),0)),””)
the sample table is
when I press the F9 button on the formula box I see the correct result
also, I changed the formula to this one but there is no change in the result.
=IFERROR(INDEX(Table2[names],MATCH(0,INDEX(COUNTIF($E$4:$E5,Table2[names]),),0)),””)
the difference is in the $E$4:$E5
UPDATE:
thanks to #Rory for answering. the problem was in a circular reference.
to solve that the problem the formula must be like this:
=IFERROR(INDEX(Table2[names],MATCH(0,INDEX(COUNTIF($E$4:$E4,Table2[names]),),0)),””)
I wanna list prepare in excel in which to increase the numbers in cells with comma-separated and sequence wise using drag functionality.
I have used CONCATENATE and other formulas but they are not working.
See the image below, when I drag cell with two rows the output is not coming as the desired result
Desired Result
If there any workaround please help me.
Your help is highly appreciated
Without further details from where these numbers come from, you could add the following formula to AT2:
=(ROW()-2)*2+1&","&ROW()*2-2
Drag down.
I have this case right here. The table below is what I expect, but it's originally without a formula.
Info for the pic:
On the green cell, i'd like to find two criteria from two different cells: "Car" & "Ford", in what line are they?
The blue cell is the second example. It is the same but different criteria. So I want to do this to build a product number with my own formula that I already built, except this last things.
My question is:
What formula that can do that. I did a full day research on the internet, google and youtube. But I don't get and answer. And I'm not an expert in a excel. I only did and googling all the things I did in excel. So please help me find out how.
Thank You
In this example the formula shown is entered in E2 and filled down.
Note this is an array formula, so use Ctrl+Shift+Enter to enter it.
I'd personally suggest you look into Pivot Tables. They do exactly what you want and probably more.
https://support.office.com/en-us/article/Create-a-PivotTable-to-analyze-worksheet-data-A9A84538-BFE9-40A9-A8E9-F99134456576
We have a spreadsheet at work, and we use it to keep track of various metrics, a few having to do with call lengths. The spreadsheet has been the same for years, but we now have a call time of 51:59 (mm:ss) which has broken the old format.
I am researching how to make it work as desired, and so far the best solution is to format the cell as [m]:ss and enter the time in the cell as 0:51:59. This gives the outcome desired, and performs all the calculations correctly, except I want to be able to achieve this without the leading zero. Ideally, someone could enter 51:59 into the cell, and it would read 51:59 and not 3119:00.
Does anyone know how to achieve what I am looking for? Any help would be greatly appreciated. I am comfortable with macros, so if there is a way to achieve this with a macro that would work, but ideally I am looking for a solution without a macro.
Thank you.
There is no way you can do this. The closest one is the following workaround:
Define cell A1 format as hh:mm and cell B1 format as mm:ss.
Enter formula =A1/60 into B1.
This will display 51:59 in B1 when you type 51:59 into A1.
Unfortunately, A1 text will read not-so-intuitive value after it loses the focus.
The workaround is described here:
https://superuser.com/a/235924
How can i make the following calculation? See screenshot column "C".
And the answer is you can achieve the functionality by using SUM() function - place the =SUM($B$1:B1) to cell C1, then copy down.
The following picture shows the answer: