exists

  1. M

    VLOOKUP Formula -- Adding a Unique Condition

    I have a spreadsheet that consists of just one worksheet (AvailableItems). Column A is a list of parts that I stock (alpha-numeric-special characters) Column D is a list of available parts (alpha-numeric-special characters) Cell C2 contains the following formula -...
  2. M

    Why is this formula returning unexpected value?

    The following formula exists in cell G2 =IF(C2<1,"",IFERROR(LOOKUP(2^15,SEARCH(Table!$A$2:$A$42000,A2),Table!$A$2:$A$42000),"")) The contents of cell C2 is “2” The expected result for cell G2 is a blank cell but the formula is returning “0”
  3. Johnny Thunder

    VBA Help - If worksheet(s) Exist then......

    Hi guys, working on a code that will look into a newly opened workbook for either sheets ("R&O", "Executive Summary") if either or the sheets exists, delete them. I came up with the below but do not know how to modify for multiple sheets and in the event one of the tabs don't exists look for...
  4. M

    VBA Find Function Error

    Hi All, I have a userform that has a label that, when clicked, will take the user to the respective sheet and select the cell of what they have entered into a text field. Essentially just a automatic Ctrl+F button. The code I am using works fine when the value exists but crashes when an...
  5. F

    checking to see if worksheet exists

    bCheck = Len(Sheets("Jan_2018").Name) If bCheck = True Then Set myCell = Sheets("Jan_2018") Trying to see if a worksheet exists and if it does do something and if not skip, but it doesnt skip it always keeps writing on the previous sheet.
  6. O

    How do you automatically remove this data?

    If you have data in columns A and B, how do you automatically remove the data in column A that exists in column B?
  7. Ivan Howard

    Increment Sheets Names

    Hello All, Please can someone give me a hand. I've had a look online for a solution but cannot find something that will do what I need. Basically I have a macro that creates a new worksheet called "Results". If the user runs the macro more than once, the macro tries to create the "Results"...
  8. N

    Track number from a list and copy paste the value's

    Hi Guys! Excel is giving me a hard time. I hope you guys could help me find a solution. I have a grocery list like in the picture below in Worksheet1. The one below is simplified but actually it exists out of 1000 numbers with different discription, units and amounts. The worksheet1 one...
  9. K

    Excel VBA How to detect if Object Table1 exists, and if yes, change its name to Table2?

    I have a couple issues that I will explain using the names Table1 and Table2 for easy understanding. I want to check if object Table1 exists, and if it does, to change its name to Table2 and Select it as well. How can I achieve this?
  10. V

    Search in substring

    <tbody> A b c 1 60112650653 60112650653 Yes 2 60112750403 60111111111 Yes 3 60111111111 / 602222222 60112345678 no 4 6015243513 60126384232 no 5 60320320335 60132312351 no </tbody> I'm trying to search for the value B in the Column A , If it exists return a yes in C. Tried using...
  11. J

    VBA enter text in cell if value exists on another sheet

    I am using this code to find if the value in J1 of sheet1 exists in column B of sheet2, Then copy and paste the rows starting in the first empty row of sheet1. I'm sure it could be much cleaner, but it works well. Private Sub Worksheet_Calculate() Static oldval If Range("J1").Value <> oldval...
  12. L

    Changing a cell's color format base don output from vlookup?

    I have the following string checking another sheet to see if an input value exists, when the value exists based on the vlookup, I have it display and "Open" text. I would also like to highlight that cell with a yellow background. Is this doable? I don't quite understand the nesting of different...
  13. H

    formula problem

    I have code in Col I on the current workbook for eg 'MA147749 and have set up a formula to find out if it exists in Col F o the source workbook If it exists a 1 is returned , otherwise zero =IF(MATCH(I2,'[Sales Report.xlsm]Imported Data'!$F:$F,0),1,0) The formula works well, but need it...
  14. M

    Auto renaming sheet, warning if name exists

    I am currently using the following code: Sub CopyTable() Sheets("Brongegevens").Select Sheets("Brongegevens").Copy After:=Sheets(1) ActiveSheet.Name = Range("CodeCopyTabblad").Value End Sub This code copies a worksheet, and then renames it to whatever value is in the named range...
  15. K

    In a selection of cells, how to return a MsgBox if there is any cell called "x"?

    Title says it all, I have a hard time finding out how in a selection of many cells I can search of there exists at least once a cell with the name "x" Thanks!
  16. K

    If statement if Table2 exists in the ActiveSheet or in WorkBook

    I need a simple if statement to check if a certain table exists. I have this code but it's not working... Dim Table2 As ListObject If Table2 Is Nothing Then (...) End If
  17. K

    Simple problem in checking multiple sheets written cells

    For some reason, the code below, only the first variable ( i ) works, while the other one ( o ) doesn't, is simply ignored. All I want to do is check if 2 sheets are empty or not (with no written cells). For i = 1 To Worksheets.Count If Worksheets(i).Name = "Feuil1" Then exists =...
  18. B

    Find data in a huge pile

    I'm playing around with different systems which haven't been mapped properly. Essentially I'm trying to see if data in one system exists in the other, and if so what the fields would be called. Once I get all the data into Excel, is there a way to see if data in group A exists anywhere in group...
  19. P

    Any function to convert 3 letter currency abbreviation to actual format?

    Hi, I was wondering if there exists any pre-defined function in Excel VBA that can take in 3 letter currency abbreviation string e.g. USD, EUR, AUD etc and apply the correct currency format to the cell in question. I should be able to change the input to any of the existing currency...
  20. M

    If cell value exists on another page, delete from main sheet.

    Hey, Everyone; I have a workbook that has a 'Job Input' worksheet and a 'job status' worksheet. I want to add a 'complete' button to the ends of the rows and the Job Status sheet that copies the row and pasts it to a 'Archive' worksheet. I then want that same macro to search the Job Input sheet...

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