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
=Indirect("D"&H4+1)
Can anyone explain what this formula does in an Excel sheet?
H4 will have a row number
H4+1 will add one to that number
"D"&H4+1 will create a string that looks like a valid cell address.
Indirect("D"&H4+1) turns that string into an actual valid cell address and will return the value in that cell.
But note that INDIRECT is Volatile and should be avoided when possible. Use INDEX instead:
=INDEX(D:D,H4+1)
Which does the same without the volatility.
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
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 2 years ago.
Improve this question
I always work on my .xls that exported from my office application, but there is just value on account column that is a sum of total details in that account.
Can macro VBA automatically fill the values (in yellow highlighted cells) with sum formula?
My Sheet.xls
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 3 years ago.
Improve this question
I have a number range in two cell (Q7 start) and (S7 end). I am needing help in creating a formula or macros to auto populate the sequence of the numbers inputted in columns D13:S16.
Thank you in advance for your help.
Sequence
Range
You can use these formulas
D13: =Q7
E13: =IFERROR(IF(D13+1>$S$7,"",D13+1),"")
Then copy E13 to the right as far as you need.
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 3 years ago.
Improve this question
How do I get the desired result in column E? I need to look up the dates with VLOOKUP, but ignore the times of them. Then group the results in one cell. Can this be done without a VBA?
If you have Excel 2016+ and an O365 subscription you can use TEXTJOIN to achieve this
In cell E2 enter
=TEXTJOIN(",", TRUE,IF(DATE(YEAR($A$2:$A$6),MONTH($A$2:$A$6), DAY($A$2:$A$6))=D2,$B$2:$B$6,""))
And enter using Ctrl+Shift+Enter
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
I'm trying to automate a bit one of my Excel sheets.
I have the following structure:
The value on A2 is higher than A5 and lower than A6. Therefore, B2 should be equal to "Y" (B6). If A2 was equal to 101.000, then B2 should be equal to "A" (B15).
Is there a formula to do that?
Assuming that the F was a typing mistake and that you meant A instead, you can use INDEX and MATCH in the following way:
=INDEX(B5:B19,MATCH(A2,A5:A19)+1)
Note: if you have a value above the highest number or below the lowest number, you will get an error, and since you didn't mention anything about those cases, I won't include a workaround for those, but if you can have such situations, let me know and I'll add the workaround(s).