Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I have a complicated excel sheet with multiple variables to give a single output (I will name this the 'result') via multiple formula in various cells. One cell (I will name it X) can only have 60 possible entries. I would like to know what the 'result' for all 60 options while changing the variables in the other cells.
One way I have thought it could be possible is by having a table with the 60 possible entries in one column (I'll call this column A) and the 'result' in the corresponding cell in the column next to it (I'll call this column B). But I don't know how to get all the 'results', simultaneously in the other column.
I feel like it needs to be a formula like [when X = A1, B1 = 'result'] then filter this down the column.
Can anyone help?!
You can make this by two ways. By filter or pivot table. I find tutorial that can help you.
here is the filter link
https://support.office.com/en-us/article/video-filter-data-in-a-range-or-table-7fbe34f4-8382-431d-942e-41e9a88f6a96
here is the pivot table link
https://www.excel-easy.com/data-analysis/pivot-tables.html
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed last month.
Improve this question
I have several data rows in one sheet and would like to only show the rows where a product is in stock -> 'yes'.
example:
I have 10 products/rows in the first sheet from line 1 to 10 and would like to only show the 5 products/rows which are in stock in the second sheet from line 1 to 5.
Can you point me to the best function for that? Would be great to do it without VBA (:
I was trying to get results with vlookup but I did not get it to work as needed.
I could use the IF-function but would get 5 empty rows I guess.
As #Mayukh mentioned in comment, you can use FILTER() function in Sheet2 A1 cell like-
=FILTER(Sheet1!A2:A11,Sheet1!B2:B11="yes")
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I have the following table:
I'd like to fill automatically the column with '001,002...' following the previous column. Please see the image to see the pattern (We'll have many in the future, it's crazy doing it manually)
I'm attching an example file: https://1drv.ms/x/s!Akmhm4db64ebrHQF9rlhwNUa7tdS?e=kUkFlV
Thank you!
Use TEXT and IF, like the following:
=TEXT(IF(A2<>A1,1,B1+1),"000")
Tested this formula in excel and it worked for me. Paste into cell B2 for your L4 code column and just copy down. As new items are added in column A, the pattern will repeat.
=IF(A2=A1,BASE(B1+1,10,3),BASE(1,10,3))
If you need to have it automatically populate to a predetermined row, drag the formula down (for example 1,000 rows) and use the following:
=IF(A2="","",IF(A2=A1,BASE(B1+1,10,3),BASE(1,10,3)))
Just for explanation purposes, what the formula is doing is looking at the previous item in column A and checking to see if it is the same as the current item, if yes, increment by 1, else start over at 1. The BASE function is adding the leading 0's.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I have a column in an excel sheet that contains all the logged issue descriptions.
The column is as such:
pic1
I would like to create another reference sheet to categorise the issues based on the keyword.
E.g. of the ref sheet
pic2
Which excel formula should I use for this logic - if the description column contains the keyword text, return the category.
Was thinking of using if......=SUMPRODUCT(--ISNUMBER(SEARCH(..... , combining with vlookup. but unable to get it.
Anyone can help me on this?
a non-array-version would be:
=INDEX($B$7:$B$10,AGGREGATE(15,6,(ROW($B$1:$B$4))/(ISNUMBER(SEARCH($A$7:$A$10,B1))),1))
another solution would be this ARRAY-FORMULA: CTRL + SHIFT + ENTER:
=INDEX($B$6:$B$9,SMALL(IF(ISNUMBER(SEARCH($A$6:$A$9,B1)),ROW($B$1:$B$4)),1))
It just gives the first found keyword.
EDIT:
AGGREGATE can imitate several excel-functions, in this case 15 means SMALL. The 6 tells the function to ignore errors. This can be used to filter the list of found keywords. Basically it is linenumbers divided by positions of the keyword in the cell. For the first cell we get
[1,2,3,4] / isnumber([9,#VAL!,#VAL!,#VAL!])
= [1,2,3,4] / [1,0,0,0]
= [1,#VAL!,#VAL!,#VAL!]
The errors get ignored and you get row 1 as result, which can be used in INDEX.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm a student who's currently going through exams and to help revise I'm making a spreadsheet to keep track of all the marks I've got for questions in example questions.
REFER TO SCREENSHOT & SPREADSHEET DOWNLOAD
I need the average percentage correct to be calculated for each topic.
Download of the spreadsheet for you to test
Screenshot of the spreadsheet I've set up
Considering you already have the count of each question in column 'P' then that is helpful.
You can use SUMIF(G:G,O29,J:J)/P29 to calculate that percentage for each cell in column 'Q'. Once you enter that formula into that cell then simply drag it up and down to fill up all your desired cells in column 'Q'.
You may notice that you will run into a DIVISION BY ZERO error. You can avoid this by surrounding the SUMIF function with an IF function that will simply display a blank cell rather than try to calculate anything if the count of questions is ZERO.
EXAMPLE: IF(P29=0 , "" , sumif(...) )
Note: Once you auto drag the equation choose "fill without formatting" to keep your formatting clean.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I want to multiply values in cells row by row and total them up in the resulting cell below, what is the formula?
the first column is ranging a1:a4, the second column ranging b1:b4.
I can write this: =((a1*b1) + (a2*b2) + (a3*b3)).
But i want nice and clean formula that uses ranges, like =( (a1:a3)*(b1:b3))
but it does not work
Figured this out quickly myself, fortunately google uses similar formulas as in excel.
Excel has this nice SUMPRODUCT(array1,array2) which multiplies row by row and sum it up.
so the answer is this: SUMPRODUCT(A1:A5,B1:B5)