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 have two different sheets in my work book. Sheet 1 and Sheet 2. I need to do vlookup between these two sheets (A column in both sheets) and if sheet 1 contains any element from Sheet 2, the the text "UG" should be updated in sheet 1 in "AE4" cell.
Is it possible in VBA?
Try the below and modify to fit you:
Cells(specify, specify).Formula = "=VLookup(RC20,Sheet1!R2C2:R273C22,17,FALSE)"
Change the relevant parameters in the VLOOKUP to suit you.
Use this to then figure out how to add an If statement
Related
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 dataset and that have the values in B and C columns. I need to add the UID for every instances of data present in the B column. Example.
The column A should give me the UID for data set based on the data present in the column B.
I have tried many formulas but not seem to be relevant for what i am looking for.
Try below formula. Put the formula in A2 cell then drag and down.
="TT" & COUNTA($B$2:$B2)
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 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
This is table data which is the source in SHEET 1.
I want to fill the data in other sheet SHEET 2.
like i want to copy the J of Cross in that location from SHEET 1
I tried using DGET function but it returns #VALUE!
Help me here
Put this in cell G4 -
=INDEX(Sheet1!A:K, MATCH(H4, Sheet1!$B:$B, 0), MATCH($G$2, Sheet1!$A$13:$K$13, 0))
You can do the same for other cells.
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 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 8 years ago.
Improve this question
Please help me with this question.
let's assume I have selected a range (B5-B30) by mouse. I need a VBA code that selects exatly the same cells in another column (A5-A30) for me . I need to paste a certain text into (A5-A30) then.
Is there a VBA code that does this?
This will do it:
selection.offset(0,-3).select
Change -3 to how many columns, -1 is one to the left, 1 is 1 to the right.
You can change the 0 if you wish to move a number of rows too.
If you want to just paste without selecting, do this:
Selection.Offset(0, -3).PasteSpecial xlPasteAll
Change xlPasteAll to xlPasteValues if you want values rather than formulas.