statements

  1. X

    Copy column based on header value then paste in different workbook with corresponding header

    I am having an issue with getting this to work. I have tried multiple functions that do various things, match seems to be the best option. I do apologize for my code as it is very sloppy while I work, I tend to go back and clean it up once it is all working. I have noted in the code what it does...
  2. E

    Loop with two statements

    Hello everyone! I have got a excel file that looks the one below: Now I need a loop that check each cell in Column "H", if there is two cells in column "H" that matches each other (in this case Cell 1 and Cell 6). Check in Column "i" if there is any data in any of these cells, remove the cell...
  3. G

    If/then question

    Good morning! I'm so grateful this website is here! I hope someone out there can help me. Based on the table below, I want to create an if/then statement in the cell to the right of the Total cell subtracting all Orange values from Apple values. I know this can be done, just don't know how...
  4. D

    Arguments in If statements

    Im trying to find all the max and the min in the data set by the slopes and for some reason my if statement wont work If 0 > ((Cells(i + 1, 2).Value - Cells(i, 2).Value) / (Cells(i + 1, 1).Value - Cells(i, 1).Value)) And 0 < ((Cells(i + 2, 2).Value - Cells(i + 1, 2).Value) / (Cells(i + 2...
  5. D

    Converting time using IF statement

    Hello All, We use Avaya for our time tracking that records our technicians login/logoff time on the phone. I can get a report that shows their login/logoff punches as well as the total time for that day. My staff has a hard time figuring out 100'ths for minutes which is what Avaya records the...
  6. B

    Using Visual Basic in Excel

    Hey guys, I have a query based on visual basic coding in Excel. I am creating a user form for a piece of work, and there is a certain bit of the coding I am having an issue with. Here is my coding so far below: Private Sub cmdAdd_Click() 'Copy input values to sheet. Dim lRow As Long...
  7. E

    Statements for loop

    Hello people, I have made a simple for loop if the value is greater than 0 then do something, but I need add few statements if the value is equal "0" or more then do something here is my code For i = 1 To ActiveSheet.UsedRange.SpecialCells(xlCellTypeLastCell).Row If Cells(x...
  8. E

    Check for certain values and make a new

    Hello all VB Members, I should need help with a code, The thing is I have got a workbook that contains two sheets “Statistics” and “Prices” and I need a function that check for certain values. For each Row in Sheet “Statistics” Check the values in each row for Column H and I and J Example...
  9. R

    Combining IF Functions

    How would I combine these 4 IF statements into one? =IF(A2="A",IF(ISNUMBER(MATCH("B",$A$2:$A$21,0)),"B",A2),A2) =IF(B2="D",IF(ISNUMBER(MATCH("E",$A$2:$A$21,0)),"E",B2),B2) =IF(C2="L",IF(ISNUMBER(MATCH("O",$A$2:$A$21,0)),"O",C2),C2) =IF(D2="F",IF(ISNUMBER(MATCH("K",$A$2:$A$21,0)),"K",D2),D2)...
  10. A

    Help with selecting only certain items from one sheet to another

    Using Excel 2003 We have a spreadsheet set up showing a list of sales invoices, each invoice has the customer name and a customer reference assigned to it i.e B1, B2 etc We want to set up another sheet that takes the sales invoice information but only picks up that which relates to a...
  11. U

    IF/VLOOKUP Statement

    Hi Hopefully somebody can help me as my eyes are beginning to burn I have been looking at this so long! Basically I am exporting data from another programme in to Excel and need to perform a less than ordinary (for me) VLOOKUP to another workbook. The aim is to look up the value of column H...
  12. G

    Nested "IF" statements (help comparing cells before calculating an answer)

    Hi All, I've got a single-tab, 30+ column, Excel sheet with numbers (product cost, shipping, retail, etc.). These cells are both manually and simple-formula populated. What I am trying to do is compare the "original" retail price with the actual "sold" price, THEN before populating a...
  13. G

    Probably very simple, IF/Nesting Statement Problems....

    Hi there, newbie here... Having a nightmare trying to get a if/nesting statement working. Please help - see what i have so far and let me know where im going wrong. =IF(D2>1,15,IF(D2>=30,25,IF(D2>=40,35,IF(D2>=50,45)))) Please help, someone, anyone... Regards Toast
  14. S

    Production Tracking

    I created a production tracking worksheet (see attachment), that breaks down everything that we want. But we need something visually that shows how far along they are while working. On their desk they have a Standard Production Job Aid (see 2nd tab) that's laminated so they can use it multiple...

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