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 7 years ago.
Improve this question
So I need a function that allows me to convert a 00:90:7f:b3:ff:02 to 00907fb3ff02
then from there to the first six characters to = 00907f. After that I need it to do a vlookup to a second worksheet and match for example
Samsung 00907f
I know how to do these things all separately with left, substitute and vlookup. Is there a way to make this into one vba function? is this even possible?
You can use this part of formula in your vlookup:
LEFT(SUBSTITUTE(A1,":",""),6)
Replace A1 with the cell reference of the MAC Address
What this will do is show the first Left 6 characters of the Mac address but before we show it, it will use substitute to remove any: :
Hope this helps.
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
I have European style of numbers (with a comma). However, when I download a file from a website, where dots are used in values and try to open it in excel, some of the numbers becomes a date. I.e. in the file values 18.2 is transformed to 18.feb. How avoid this to happen?
Right click on relevant cell, press Format Cells, and under Category choose Text.
Now the cell is defined as general text, not date as default.
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
In one part of my spreadsheet, I am calculating odds ratios. I have one column (V) with the OR, and then W and X with the confidence intervals. In another column (M), I am trying to get excel to list this information in one cell.
i.e.
0.78 (0.25, 2.46)
I have just been copying the information, but this is prone to errors and takes ages, so I am looking for a better way.
Any ideas?
Try a formula like:
=[#columnV]&"("&[#columnW]&","&[#columnX]&")"
This should concatenate row wise down the entire table with the desired format.
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 4 years ago.
Improve this question
Got a list of data with 7 columns each with a Y in, I want to add a formula that will check for a Y in the column then concatenate the headings if correct and ignore if not.
See below example
Is this possible?
Try this User Defined Function.
=TextJoinIfs(", ", 0, 0, B$1:H$1, B2:H2, "y")
I did not get the TextJoinIfs to work, sadly, looks neat. If you have the same problem maybe this can be a solution. Not pretty I know...
=TEXTJOIN(",",TRUE,IF(IFERROR(MATCH("Y",A2),FALSE),"col 1",""),IF(IFERROR(MATCH("Y",B2),FALSE),"col 2",""),IF(IFERROR(MATCH("Y",C2),FALSE),"col 3",""),IF(IFERROR(MATCH("Y",D2),FALSE),"col 4",""),IF(IFERROR(MATCH("Y",E2),FALSE),"col 5",""),IF(IFERROR(MATCH("Y",F2),FALSE),"col 6",""),IF(IFERROR(MATCH("Y",G2),FALSE),"col 7",""),)
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
enter image description here[vlookup]
Erradic/inconsistent behavior with vlookup function in MS Excel.
The search list is in yellow, search result is in green.
Please refer to the captured image.
Help would be much appreciated.
Nothing is wrong with vlookup.
Vlookup will look in the first column for what you want, in this case it looks in column A for “round” and returns n/a which is perfectly correct.
You could 4 vlookups to deal with this or you can try index and match ...
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
Rather than an Excel formula of this kind:
=IF(AVERAGE(A1:A4)<4,"POOR",IF(AVERAGE(A1:A4)<5,"Meet Expectation",IF(AVERAGE(A1:A4)<7,"Good",IF(AVERAGE(A1:A4)<8,"Excellent","Outstanding"))))
how might I achieve similar results with a lookup table?
With a lookup table (and without requiring an exact match):
Where an exacct match is not found it defaults to the next lower matching value. 9 can not be found but 8 can be, hence Outstanding. You have not been specific about the breakpoints (eg 5 seems to be both Meet Expectation and Good) but the table is easy to adjust to suit by adding or deducting a very small amount to the number to the left of Good.
The table is here named Qarray and can be placed anywhere in the same workbook if the named range is of Workbook scope.
Formula:
=IF(A1<4,"POOR",IF(AND(A1>=4,A1<5),"Meets Expectations",IF(AND(A1>=5,A1<7),"Good",IF(AND(A1>=7,A1<8),"Excellent","Outstanding"))))