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 7 years ago.
Improve this question
Iv'e searched and found here on Stackoverflow within a thread, a snippet of code posted by comment from user:1532334 which works perfectly for what I wish to achieve, but seek to adapt the ROW part of the formula to capture Coulmn1=Seq No instead of the row number and would appreciate some assistance.
Rows:
B1=Seq No, B2=code snippet as below, B3= Address
Code:
=(HYPERLINK(INDIRECT(ADDRESS(ROW(),COLUMN()+1)),"Link" & ROW()))
B2 Result= "Link" & B1
There might be a simpler way to do it than this, but I've used the ADDRESS and INDIRECT functions to reference the Column A value of the row the formula is in, similar to how you had the hyperlink address feeding in.
=(HYPERLINK(INDIRECT(ADDRESS(ROW(),COLUMN()+1)),"Link " & INDIRECT(ADDRESS(ROW(),1))))
When you find new formulas on the internet, try breaking them down and understanding how they work. You'll get pretty good at Excel in no time at all.
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 2 years ago.
Improve this question
There is probably an easy way to do this. Just cant figure it out.
I have a huge dataset with multiple id:s that can have different code (column 2). How do I go about to extract by specific code "x" in this case and also extract all the ids that contains even one x. See image
From your screenshot it seems you are trying to filter IDs excluding code c. If I am correct then use below formula to E2 cell. If my assumption if wrong then please explain how your output is coming.
=IFERROR(INDEX($A$2:$B$12,AGGREGATE(15,6,(ROW($A$2:$A$12)-ROW($A$1))/($B$2:$B$12<>"c"),ROW(1:1)),COLUMN(A$1)),"")
Edit after clarification: Only for Office365 excel.
So, if you have Office365 excel then use below formula as per screenshot
E2=FILTER(A2:A12,ISNUMBER(MATCH(A2:A12,UNIQUE(FILTER(A2:A12,B2:B12="x")),0)))
F2=FILTER(B2:B12,ISNUMBER(MATCH(A2:A12,UNIQUE(FILTER(A2:A12,B2:B12="x")),0)))
If you do not have Office365 then you need to use combinations of few formulas by array entry which will slow your excel performance. Here is array formulas.
E2=IFERROR(INDEX($A$2:$A$12,AGGREGATE(15,6,(ROW($A$2:$A$12)-ROW($A$1))/(ISNUMBER(MATCH($A$2:$A$12,IF($B$2:$B$12="x",$A$2:$A$12,""),0))),ROW(1:1))),"")
F2=IFERROR(INDEX($B$2:$B$12,AGGREGATE(15,6,(ROW($A$2:$A$12)-ROW($A$1))/(ISNUMBER(MATCH($A$2:$A$12,IF($B$2:$B$12="x",$A$2:$A$12,""),0))),ROW(1:1))),"")
Press CTRL+SHIFT+ENTER to evaluate the formula as it is an array formula.
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
Require assistance with excel formula to subtract numbers from cells F2 & I2 if no data is in cell K2. If data is in cell K2,then I need formula to subtract F1 & K2 only.
Well, based on what you asked and what I understand, then the following may help:
If you are going to drag this down then you may need to control which cells move.
Edit, just spotted you said subtract so:
=IF(K2="",F2-I2,F1-K2)
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 have searched everywhere but i can not find the answer i am looking for. I need to combine two formulas that both have if and vlookup statements in them. I can find answers on how to combine with if and vlookups singularly but not together. Does anyone know how i would combine these two formulas:
=IF(VLOOKUP(C7,'Drop Down Fields'!E4:I32,1,0)="Other",'ECO Form'!L30,"")
=IF(ISBLANK(C7),"",VLOOKUP(C7,'Drop Down Fields'!E4:I32,2))
Any help would be greatly appreciated.
Try this, let me know how you go:
=IF(C7="Other",'ECO Form'!L30,VLOOKUP(C7,'Drop Down Fields'!E4:I32,2))
I am not sure if you also care if "Other" must exist as an entry in the cell range E4:E32 on the 'Drop Down Fields' worksheet? If so, then you will need to use your original IF condition as it is from the first formula as below and the vlookup of 2nd formula simply gets plugged into the 'else' part of the first IF formula:
=IF(VLOOKUP(C7,'Drop Down Fields'!E4:I32,1,0)="Other",'ECO Form'!L30,VLOOKUP(C7,'Drop Down Fields'!E4:I32,2))
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 8 years ago.
Improve this question
Any help would be appreciated. I have seen the indirect formula used a lot but I'm not sure if I can string together all that I am trying to do here.
I have created within the X column of SS Sales a formula that calculates the data range based on install dates. So 1/1/13 to 4/1/13 may equal (DT14:BL41). The X column gives me this answer depending on dates that change.
I need to use the range determined by cell X2 in SS Sales(DT14:BL41) in a COUNTA formula to count what is actually open on the calendar, which is on a separate sheet within the same workbook.
This is what I am trying but it doesn't work:
=COUNTA('install calendar copy'!(INDIRECT('SS Sales'!X2))
You need 'SS Sales'!X2 to contain the text string 'install calendar copy'!DT14:BL41 then =COUNTA(INDIRECT('SS Sales'!X2)) should give you what you want.