code & formula

  1. L

    Sum if / Group by VBA Module

    Hi All, I have a module written to pull data from one sheet (Raw Data) and into another (Opportunities). But I am having trouble with the last piece. I THINK I need to group by Column B in Raw Data - but I still want to sum by Column C in Raw Data. Not sure if that is correct, but I was able...
  2. E

    Timesheet Form

    Hello How are you my friends! I hope you will help me to complete this table It is a Time sheet I want you to create numbers of work time according to the following condition: in (E8) set valuein [F8:AJ8] random numbers SUM random numbers in [F8:AJ8]= SET VALUE in (E8)I want to cancel...
  3. G

    Sum of coding variable by using Index and Match

    Dear all, This is my first time here. Could you please advice me with this question? I already try to search but couldn't find the answer. Each worksheet called "Project 1, 2, 3, ...., 10" and have 5 questions which each question has drop down to choose 3 variables (YES-2, PARTIAL-1, NO-0)...
  4. G

    Sum of coding variable by using Index and Match

    Dear all, This is my first time here. Could you please advice me with this question? Each worksheet called "Project 1, 2, 3, ...., 10" and have 5 questions which each question has drop down to choose 3 variables (YES-2, PARTIAL-1, NO-0). And I want to sum all of 15 questions in another...
  5. J

    Complex Sorting Macro for names & emails

    Good Morning All, As always I like to start off my posts with saying thank you to everyone who responds and provides assistance. I have a tough one to crack...I need to create a code/script that sorts 5 columns of data. First column is (A) last name, first name (exact format). Second column (B)...
  6. J

    VBA Code for searching exact text with or without spacing

    Hello all, Please help. So I have one column of information that is inconsistent to say the least. It has different spacing, hyphens, wording. Essentially it is a comment box filled with different information. What I need is a script or mechanism to only search certain numbers and text 1) 2...
  7. Eikon

    Command button (Active X) multiple tasks

    I’m working on a VBA formula for a weekly schedule that will fill in cells with the current date and time when clicked. That part I have figured out with the formula below: Private Sub CommandButton3_Click() Sheets("Event Scheduler").Range("K20,K35,K50,K65").Value = NOW The Command...
  8. Eikon

    Command button (Active X) multiple tasks

    I’m working on a VBA formula for a weekly schedule that will fill in cells with the current date and time when clicked. That part I have figured out with the formula below: Private Sub CommandButton3_Click() Sheets("Event Scheduler").Range("K20,K35,K50,K65").Value = NOW The Command...
  9. R

    Insert formula every nth Row?

    From Columns AN to BB (15 columns in total), I have a match/index formula that needs to be inserted every 11th row. Does anyone know of a VBA code to perform this? Note: each of the 15 column is a unique match/index formula catered to that specific column cell. Thank you in advance, Kim
  10. E

    2 Issues: Inefficient Array Read/Write Procedure & Compile Error Procedure Too Large

    Hi, I'm having two issues with my code: the first is, I'm trying to match part numbers I pull in from a database to excel with a part description master; the second is I'm now receiving an error that my procedure is too large to compile. Background on the first issue: I receive a text...
  11. M

    How to remove (blank) from Power BI Desktop tile

    Hi Does anyone know how to remove (Blank) from a tile when no data is present and replace with a zero? im new to the tool so any help will be greatly appreciated Rosco
  12. S

    Help with vba macro for auto generating unique ID number

    I am a pharmacy student in serious need of help for my internship. I need a macro/vba code that auto generates when there is cell content in a row of a worksheet. this number is going to be an invoice number. I current have a 'masterfile' that records all finalized orders for each facility...
  13. L

    String formulas to range of cells

    Please help; I have 7 lines of code setting a variable to a formula, first 3 which vb accepts and the last 4 are rejects with the runtime error 13 type missmatch. Can anyone please help me understand what I am missing here with the last 4 lines of code? All are variables are dim as...
  14. T

    Help with vba function

    Hello, I have the following function: Function Fun(z) Fun = z - x - (((((z - Dato1) * Dato1P) + Dato3) - (((((z - Dato1) * Dato1P) * Dato2) + Dato4) * R)) - Dato5) End Function There are several varibles within it, the thing is that it just does not work, for example: Fun(20) returns 20 What...
  15. A

    Use a result variable for a formula using VBA

    Hi all, I'm new in forums, so I apologize if I do something wrong. I have a question about using VBA for setting a formula. I have to do this: 1-Save a result from a formula in the file "Macro" in a variable called "var" 2-In the file "model" save the formula in a variable called "pivote"...
  16. J

    I need help writing code for a search and replace text box.

    I would like someone to help with writing a code to be able to enter a number in one text box and have the program use that number to search find it in column A and then display the correlating column B data in another text box. If this is not possible please let me know. Ian
  17. S

    Need help programming a simple Excel database with VisualBasic

    Hello, I'm currently building a disciplinary report log for work. The design of the log is simple; I have a table in Sheet 1 with rows corresponding to employee names. Each column represents a general category of possible infractions (e.g. safety; cell phone usage; failure to comply with...
  18. C

    calculating the sum sum of numbers in one cell and dividing it to two percentages

    Hello, Im making an invoice and need some help! How can I create a formula that automatically calculates the 'Total' considering that the prices (Price 1 and Price 2) are in the same cell, separated by rows, and in a 'number/text' format (50EUR)? Also, how can this formula calculate new prices...
  19. A

    Copy Check Box to Every 5th Cell with Command Button

    I have an issue which i can't solve.I wrote this code: <code>Private Sub CommandButton2_Click() Sheets("sheet2").OLEObjects("CheckBox1").Copy Sheets("sheet3").Range("V7").PasteSpecial End Sub</code> This code copy a checkbox from (sheet 2) to (sheet 3) starting from V7 cell. Now I want...
  20. B

    Filter list per Character From Smallest to Highest using code

    Hi Guys, Is there a way we can filter list based on the number of character in a cell from lowest to highest using code alone? Sample Below Sa1 Sample 23 Samepl Samples Output Sa1 Samepl Samples Sample 23 Thanks,

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