obtain

  1. L

    IF statement based on a number in a certain position in another cell

    I need to know how to write the following: =IF(3rd digit in cell J2="2","2-10051","1-10031") I do don't know how to obtain the 3rd digit. I tried researching this and tried several ways but got "error" or "false".
  2. C

    How to Obtain "Available Memory" Number with VBA?

    Is there a way to obtain/calculate (or approximate) the "Available Memory" Number shown in Task Manager using VBA? Thanks.
  3. JenniferMurphy

    In a UDF, obtain the name of a passed named range

    I am trying to obtain the name of a named range passed to a UDF. I want to use it in error messages. Based on previous discussions and an Internet search, I came up with this, which doesn't work. Public Function ShowRangeName(rng As Range) Dim rngname As String rngname = rng.Name.Name MsgBox...
  4. S

    Set Range Value using worksheetfunction.Vlookup

    I am receiving the error "unable to get the vlookup property of the worksheet function class" on the line below. Set sampleSet = Application.WorksheetFunction.VLookup(sampleVar, TblRng, 2, False).Address I suspect there are a few problems with the way the line was written. My overall goal...
  5. T

    Obtaining value from most recent duplicate

    Hi All, I have a vertical list from A1:G1 John Fred Alex John Tim Fred John There are also values in B1:G1 next to those names which are irrelevant. For the second "John" I need a formula to search the vertical list above it (from bottom to top), find the first "John", and obtain the value...
  6. G

    Modifications to code to allow cell references rather than InputBox popup

    Hi, Trying to modify the code below to allow the direct use of cell references instead of popping up an InputBox. I've tried e.g. Set tags = Range("B2:I2") but this isn't working. Also wondering why the code below works with Set used only once rather than at the start of each line? Dim...
  7. H

    excel vba : How to replace cell that contains specific text

    Hi, How do I write a code to replace cells that contains "0" in column A with the word at the top row of each 0 group? <tbody> AD 0 XX 0 XX 0 XX 0 XX AC 0 XX 0 XX DE 0 XX </tbody> Above is sample table and below is the output that i wish to obtain. <tbody> AD XX...
  8. L

    Tricky Sort / Batch Count

    G'day! I currently have : =SUM(IF(FREQUENCY(A8:A1000,A8:A1000)>0,1)) It batches column A with re-occurring values and gives the number of batches this works great! However, I now want to look at column H:H and see how many batches from A:A have the value "MG" in column B. See example below...
  9. D

    Pivot table show items with no data

    If I have data like this, pre-pivoted: <tbody> ID Q1 Q2 Group 1 Explore Not at all 1 2 Personal Somewhat 1 3 Take Very 1 4 Obtain Very 1 5 Obtain Very 1 6 Take Not at all 1 7 Personal Sucessful 1 8 Improve Successful 1 9 Obtain Very successful 1 10 Obtain Not at all 2...
  10. L

    Input an ID number, find it among 65 ranges, obtain birth year

    Hello everyone, thanks in advance for your time. I've got this problem: 1. I have a list of almost 24K ID numbers. 2. I have a table with ranges, saying: "from ID #1.000.000 to ID #2.000.000 was born in 1920"; and so with another 65 ranges, saying from this ID to that ID was born in this...
  11. E

    Pausing the program...

    I would like to direct, by way of a MsgBox, the user to select a pull-down cell and obtain a selection and then continue the program operation. How and what VBE coding will accomplish this?
  12. JenniferMurphy

    Worksheet function to return name of range?

    Is there a way in a worksheet (without using VBA) to obtain the name of a range, if one is defined? For example, suppose I have assigned the name "HeaderRow" to $7:$7. Is there a way for me to obtain the text "HeaderRow" if I provide the row number (7)? The Address function doesn't seem to do...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top