Suoritettu

EXCEL VBA SMALL PROJECT

I have a spreadsheet that has 7 tabs, please see attached (the GREY tabs).

The orange tabs just show you how these tabs SHOULD look like after the macro has been run.

A few notes about the spreadsheet.

The main tab is „Raw Data”. All other tabs are empty at the beginning.

Most of the columns have data that is irrelevant (called „Data” in the attached spreadsheet)

The only columns that really „matter” are O, P, AW, BR, BV, BW

Column O and P can only take on three values: „Dog” or „Cat”, or „Sheep”

Column AW can take on only two values: N or Y

Column BR can only take on two values: „Apple”or „Orange”

Column BV can take on any value.

Column BW is a COUNTIF formulae (with range BV)

I need a VBA code that does the following.

1. The first row is just the header row, that should always stay the same no matter what.

2. If in a certain row, column P is not blank, delete the whole row

3. As I mentioned earlier Column BW is a COUNTIF function looking at column BV as a range and cells BV2, BV3 etc as criteria -please see attached in the spreadsheet

4. If in a certain row, the value of column BW is 1, move this row to tab „Sunday” (starting from row 2, do not touch the header) and delete it from tab „Raw Data”

5. If in a certain row, the value of columns BW is more than 2, move these rows to ”More than two items”, and delete these rows from tab „Raw Data”

6. If in a certain row, the value of columns BW is 2, then these pairs need to be analyzed individually following the below logic. (By pair i mean rows where column BV matches, so for example the two rows where column BV is „ad” and so on for all of the pairs)

A: if column BR has the same value for the two rows currently analyzed (so either Apple/Apple or Orange/Orange) move these rows to sheet „Monday” and delete it from the „Raw Data” tab

B: if column BR has different values for these two rows, do the following:

a. If column O if has the same value for these two rows (either Cat/Cat or Dog/Dog, or Sheep/Sheep) move these rows to sheet tab „Tuesday”

b. If column O if has different values for these two rows, do the following

i. If column AW is „Yes” for either of the rows move to tab „Wednesday”

ii. If column AW is „No” for both of the rows move to „Thursday” (Invalid mismatch)

7. Go to tab „More than two items” and if within any of the groups (same definition as before) column BR is the same for all row, move these to „Monday” and delete from „More than two items”

That is it, by now the raw data tab should be empty

Obviously the attached ss is just a random example, the actual spreadsheet is much larger and can contain thousands of rows.

I know VBA a bit, so please make sure all of the lines are explained so I can chaneg it if needed.

In the actual spreadhseet i wont necessarily have apples/oranges so please make sure it is straightforward how I can change it.

Same with the column names, so please make sure it is straightforward how I can change it.

I know VBA a bit so it wont be a problem if the code is clear,

Taidot: tietojenkäsittely, Excel, Visual Basic, Visual Basic for Apps

Näytä lisää: excel 2003 small project, excel vba animation project, excel vba sql project, excel vba coding project, excel vba database project, excel vba small project, excel vba finance project, excel vba dashboard project data, excel vba current project, excel vba bid project, excel vba application project, excel vba simple project, excel vba update project, india vba small project, excel vba data project

Tietoa työnantajasta:
( 2 arvostelua ) Glasgow, United Kingdom

Projektin tunnus: #15838364

Myönnetty käyttäjälle:

sardaaditya28

This is a very easy task for me. I have 3 years of experience in VBA. I know how to write code and will be easily understandable for you also Relevant Skills and Experience Excel Vba, Excel Models Proposed Milestones Lisää

15 £ GBP 1 päivässä
(0 arvostelua)
0.0

13 freelanceria on tarjonnut keskimäärin 33 £ tähän työhön

schoudhary1553

Greeting, I have understood your EXCEL VBA task and can do it with your 100% satisfaction. Please ping me for more discussion. Relevant Skills and Experience I have more than 5 years of experience in Data Processing Lisää

20 £ GBP 1 päivässä
(216 arvostelua)
7.2
avinav606lx

Hi there, This looks feasible. I am expert in Excel VBA with over 5+ years of experience. Ping me to discuss more about the project. Thanks Aman

50 £ GBP 1 päivässä
(150 arvostelua)
6.4
zu02

Hello , I saw your project and analyze your requirements. I can code your current Excel project. Relevant Skills and Experience I'm programming in ms Access/Excel/VB since Ms Office 97 released Proposed Milestones Lisää

38 £ GBP 1 päivässä
(28 arvostelua)
5.6
nwss1986

Hi, First, the project involves a lot of coding logic, so i have quoted this amout.I can start the work right now and will deliver in a two or three hours.Thanks. Relevant Skills and Experience Please have a look at m Lisää

31 £ GBP 0 päivässä
(44 arvostelua)
4.6
55 £ GBP 1 päivässä
(11 arvostelua)
4.4
insidenetsoft

Hello, We could create this macro that will loop and process the data following exactly the established rules. Also I could add a lot of comments in the code in order to be easily maintained by you later. My l Lisää

75 £ GBP 4 päivässä
(21 arvostelua)
4.0
stillart

Hello, I'm available for this project. If you award me now I will complete it in 24 hours. Relevant Skills and Experience I have more than 20 years experience in vb (vba, vb6 vb.net) coding. Please take a look at my r Lisää

55 £ GBP 1 päivässä
(7 arvostelua)
3.6
JackieXu

hello. how are you? i am expert of Microsoft Excel, excel VBA and data analyst. i have many years of experience on like these job. i can satisfy every thing what you want in short time. best regard. Relevant Skills an Lisää

18 £ GBP 1 päivässä
(7 arvostelua)
2.5
XcelSolution

I have been working every day with Excel: formulas, databases, reports, and VBA for the past 10 years. Relevant Skills and Experience Excel: formulas, databases, reports, and VBA Proposed Milestones £15 GBP - Excel f Lisää

15 £ GBP 2 päivässä
(1 arvostelu)
0.4
parthapaul0001

Hi,i am experienced in VBA Relevant Skills and Experience Data Processing, Excel, Visual Basic, Visual Basic for Apps Proposed Milestones £18 GBP - initial milestone

18 £ GBP 1 päivässä
(1 arvostelu)
0.0
elwagner3000

A proposal has not yet been provided

23 £ GBP 1 päivässä
(0 arvostelua)
0.0
techokeet

Hi Mate, I have more than 10 years of experience and can deliver a very useful solution which will save a lot of time. I understand that you provided example data and would like something which can configured for real Lisää

18 £ GBP 7 päivässä
(0 arvostelua)
0.0