Marking Columns/rows
Nov 19, 2008Usually when I try to mark a row/column for future reference I code the following:
View 14 RepliesUsually when I try to mark a row/column for future reference I code the following:
View 14 RepliesSo I am trying to mark certain rows as duplicates if their values in Columns J, AD and ABS(BD) match. J and AD contain Number letter Identification combinations and BD contains a value. I currently have a formula as shows that will mark all of these values:
[Formula]
=IF(AND(COUNTIFS(J:J,J15,BD:BD,ABS(BD15),AD:AD,AD15)>1, (SUMIFS(BD:BD,J:J,J15,AD:AD,AD15,BD:BD,ABS(BD15)))<>ABS(BD15)),"Duplicate","")
[Formula]
The issue with this formula is that I do not want it to mark rows that look like this:
J - AD - BD
AA1 BB2 20
AA1 BB2 -20
AA1 BB2 20
I have a lot of rows that will appear like this. Their sum in BD equals the absolute value of the value in BD. I thought this would get picked up using the SUMIFS portion of my formula but it is not. I cannot find the problem.
Marking My Post As? How do i mark my post as solved?
View 5 Replies View RelatedI have a worksheet ('Matrix') that has a grid that is 40 rows x 40 columns. On another sheet ('Drivers') I have a two columned table where a user is enters two numbers between (you guessed it!) 1 and 40. What I'm trying to do is within the grid, have a "Y" appear on the crossing point as denoted by the table. I've tried a couple of experiments with MATCH, but I'm not getting very far.
I've attached an example document to make this a bit clearer and I've coloured the references on the 'Drivers' sheet to correspond to where they should appear on the 'Matrix' sheet. Sorry if that's a bit garbled. Let me know if you need any clarification.
Is there a way to go down a sheet and mark a certain row with say an X Then run a macro to copy all the cells in that row marked with the x to another sheet. There may be 45 X's down the sheet.
Example Below..
FirstLastAddressCityStZipCode
DaveJones55 Pine StElkhartPA3333221
xTomJones56 Pine StElkhartPA3333221
JoeJones57 Pine StElkhartPA3333221
xAmyJones58 Pine StElkhartPA3333223
So to either copy them to another sheet or even better a Word Document that is setup that has Cells to accept everything from First to Code.
I am wondering what is a convenient way to invisibly mark off certain cells on a spreadsheet, so that VBA can later recognize that they are so marked, and thus treat them differently. I have a spreadsheet listing various farms that our hatchery purchases eggs from. I have a commandbutton on that sheet that opens up a userform, allowing the user to assign certain farms to participate in various breed tests. Ideally, when the user selects a farm for a breed test, the corresponding cell on the spreadsheet (containg that farm's name) will be marked in some invisible way. That way, when I run another macro, the code will be able to recognize that cell as marked, and treat it accordingly.
So, what is the favored way of marking a cell in a way that will remain invisible to the user? I know that there are plenty of properties that a cell has, many of which appear useless to me. Is it good protocol to adjust any of these as I like, or is there some method that is to be preferred?
there are loads of posts sitting with requests for more info but just sit there because 2/3 replies have ben posted but nothing has been actualy done.
i dont look at these because i assume problem has been fixed so when i/others look we could actually still have a go at helping the original person better still once this is in place have a link to unresolved posts
I am looking at a register of documents that are constantly being revised. What I need to do is mark up which ones need to be reviewedDocument RevisionViewedapples1apples2yapples3apples4apples5pears1pears2ypears3pears4oranges1oranges2oranges3
If a revision is marked as Y then previous revisions don;t need to be looked at and can be marked with n/a anything older doesn't need to be reviewed except for the latest one. In the above table if apples revision 2 has been viewed so rev 1, 3, and 4 are no longer relevant and only rev 5 needs to be reviewed. Pears rev 2 has been reviewed so on rev 4 needs to be reviewed. No Orange documents have been reviewed so only rev 3 needs to be reviewed.
The above is just an example my table consists of 8000 entries.
A little background, I am trying to match CC deposit batch transactions to daily sales transactions. I have two reports, one from our credit card processor/gateway (Report "B") and one from our software where the daily sales (Report "A") are recorded. I used the INDEX/MATCH formula to pull the information I needed from Report "A" into Report "B". It worked perfectly. My question is, is there anyway that I can show what information has been pulled from Report "A"? Possibly by highlighting what was pulled over? It is a longshot, but it would make my life so much easier if it was possible...
View 1 Replies View RelatedI receive an automation error, when using this code, the debugger is marking the line with n =...
View 14 Replies View RelatedI have a huge lists of names that I need to work with. The first is a list of all employees. The second is a list of those employees who have submitted their monthly report. In theory every record should be a match. I need to compare the lists and mark the people who are missing their monthly report in the main list of all employees.
Not sure how to set this up in Excel
Sheet 1: Column A - All employees names, Columns B-M: used to show whether a report has been submitted.
Sheet 2-13 (July, Aug., Sept., through June): Column A - employees who have submitted their report.
I need Sheet 1 to show either all of the missing records across all the months or it can show the ones that have been received. Either will work.
The find value will always be the same...its just a placeholder that is randomly inserted. (currently i am using the value "Placeholder"). basically in column B i want to insert the iteration of the Place holder. the attached spreadsheet better illustrates what i am trying to do. starting the count at zero is kind of important, but not the end of the world if it is impossible.
View 3 Replies View Relatedi need to mark some row (which has some content written in), mark other row(with data too) and switch/transpose them mutual. when i was trying transpose method, which is using for switching rowns and columns, it wrote me error, that data are overlapping. it means it cant work on same things (rows > rows, columns > columns).
View 14 Replies View Relatedremoving duplicate rows and move other data frm rows to columns.xlsx.
I am attaching a sample excel sheet showing what I need to do.In the first tab, I have a list that includes duplicate rows (first column only). I want to remove those duplicate rows but I don't want to lose the data in the following columns which can be unique or duplicates as well.
see the desired result tab in the sheet to get an idea of what I am looking for as the end result.
Keep in mind that the actual source file I am working with could have up to 50000 row, and the expected results could be around 2000 rows. So nothing can be done manually.
I have this in Column A, with about 120 entries:
Company 1
Contact 1
Address 1
City, ST, ZIP 1
Phone 1
Fax 1
Company 2
Contact 2
Address 2
City, ST, ZIP 2
Phone 2
Fax 2
Company 3
Contact 3
Address 3
City, ST, ZIP 3
Phone 3
Fax 3
I want this:
Company 1 Address 1 City, ST, ZIP 1 Phone 1 Fax 1
Company 2 Address 2 City, ST, ZIP 2 Phone 2 Fax 2
Company 3 Address 3 City, ST, ZIP 3 Phone 3 Fax 3
all the way down.
I can't figure out how to record the macro to tell it to then skip the blank line, collect the next set of data, and put it in the next row. I can do it for two, but then it just replaces the first two with the next two and I lose data.
Column A is numbered 1 -100 successively Column B thru D contains data that goes with the assigned number in column A. I need to be able to move rows of data in column B through D to a different set of rows all at the same time (not one cell at a time) without disturbing the set numbers in column A. And with that, have all the other rows of data automatically adjust accordingly(not to be deleted or replaced).
View 1 Replies View RelatedI have individual data files (one for each participant). Each file has 64 rows (one for each trial in an experiment) and 18 columns (one for each variable). I would like to create a master data file in which each participant is represented in a single row. I will then have 1152 columns (18 columns for the variables, repeating 64 times so that each trial is represented).
In other words, my individual data files look something like this:
Participant 1 (title of data file)
Trial/var1/var2/var3
1 55 43 65
2 54 43 56
3 33 23 56
and I want to compile all the data into a single file that looks like this:
Participant/Trial1_var1/Trial1_var2/Trial1_var3/Trial2_var1/Trial2_var2/ ...
1 55 43 65 54 43
2 . . .
I know how to record macros and use IF, THEN, AND, & SUMIF statements creatively, but that's about it. I was hoping to record a macro that I could use on each individual data file to turn it into a single row, and then paste each row into the master file.
I have a table arranged by columns into SETS of results. I am looking for a way to mark all the columns of a set as false if any one column of the set is false.
View 4 Replies View RelatedI have a worksheet that keeps track of members for an organization. One column, let's call it B, notes the month when the members are due to renew their membership. Our organization requires that members be notified of pending renewals one month before, the month of, and one month after they're due to expire. Rather than having to re-sort the database every time I want to pull up this information, I'd like to create a second column, column C, that puts a character next to the names of members who are about to come do.
Ideally this character would change depending on what stage they are in the renewal process (a month before, month of, month after). Super ideally, if this is even possible in Excel, members who haven't renewed by the last month will automatically be moved to worksheet two, which contains recently lapsed members. What sort of code would I need to do this? I've tried googling for it, but I can't find quite what I'm looking for, and I have no script savvy whatsoever.
I am creating an inventory list for a lab, I have a column called "reorder" and another column called "price". Is it possible to have a checkbox, or if I put "x" in the reorder column, the price for that particular item will appear in the "price" section.
Then I will have a total field and any prices that populated will calculate the total price?
How to align two columns that sometimes have rows that are unequal in number. The data is sourced from a web page that has a table layout and the table lays out the one to many values this way in the table. My data looks like this:
Table ...Term
t1 ..... term1
t2 ......term2
..........term2.a
..........term2.b
..........term2.c
t3 ......term3
..........term3.b
The editor removes leading spaces. In the column Table there are only three rows but in column Term there are multiple rows per single row from column Table. So one row t2 for column Table has three rows in column Term. Are these cells merged and can I in a mcro detect if the cells are merged? How is the addressing of the merged cells in a VBA macro?
Using the following code to remove empty rows based on whether a specific range of columns is empty. The code works if the cell has a zero, but not when the cell is blank. An example of the data is attached.
VB:
Public Sub DelRows2()
Dim Cel As Range, searchStr, FirstCell As String
Dim searchRange As Range, DeleteRange As Range
[Code].....
have a large dataset where I want to move some data from rows into columns and other data from columns into rows. I have enclosed an example. It is indeed only an example as the original has many more rows and colunms. What I want to do is to move the the years (columns) into rows and move Product (row) into columns. The example shows how it currently looks and how I want it to look.
View 2 Replies View RelatedI have created a spreadsheet to show some reports and I wanted to serch for some datas which overloops themeselves. If you can have a look at a test file I attached you will see the full picture. I have 2 tables, where the 2nd one is on the right side of the 1st one. 1st table:..............
View 3 Replies View RelatedI wrote a short VBA to change known data from rows to column and columns to row.
Data is like this:
Hello Hello Hello
Hello Hello Hello
I can chang it to Hello .... Hello
or
Hello..
.
.
.Hello
I need to figure out a way to do this when data is not fixed - ie:
Hello Hello Hello Hello Hello
Hello Hello Hello
Hello Hello Hello
Hello
or
Hello Hello Hello Hello Hello Hello
Hello Hello Hello
Hello Hello Hello
Can you offer suggestions on what commands I can use to find the begining and ending of data, so that no matter what format it is in I can change it to one row or one column?
I have 20,000 columns of data that I need turned into 4 rows.
I know about copying and paste special (transpose), however, the data is in groups of 4 columns
Example:
1. Name
2. Street
3. City, State
4. Number
5. Name
6. Street
7. City, State
8. Number
and I need it to look like
Name Street City, State Number
So is there anyway that I can make it turn columns into rows by groups of 4?
I have huge data like below.
Parent Site:A
Child Site:A
Child Site:B
Child Site:C
Parent Site:B
Child Site:A
Child Site:B
Child Site:C
Child Site:D
Parent Site:z1
Parent Site:1
I am looking for a macro which can convert above data to columns as per below.
******** ******************** ************************************************************************>Microsoft Excel - r2c.xls___Running: 11.0 : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutA1=ABCDEF1Parent SiteChild SiteChild SiteChild SiteChild SiteChild Site2AABC 3BABCD 4Z1 5112510156XA1Z33 720A Sheet2 [HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name boxPLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.
In Column 'A' I have part numbers. In Column B I have suppliers that supply that part number. My report drops into excel as per the below table. My issue is if a part number can be supplied by more than one supplier it duplicates the part number in Column 'A' based on how many suppliers can supply that part number In Column 'B' it will list each supplier for that part number In the table below you can see that part number 1122 can be supplied by supplier 'ABC' and also 'DEF' - Part number 9966 can be supplied by 3 different suppliers so lists the part number 3 times in Column 'A' and in column 'B' it lists each supplier i.e. 'TUV', 'WX' and 'YZ'
What I want to be able to do is the suppliers in Column 'B' be listed in the cells to the right of the part number and dupliactions in Column 'A' be removed
'A' 'B'1122
ABC
1122
DEF
9966
TUV
9966
WX
9966
YZ
I have a list of election results for the British election in 2010 which I'm trying to compile into a format like this: [URL] ...
The list of base data I have however has each constituency in columns rather than in rows: [URL] ....
I know there's the copy and paste using the Transpose tool, but I don't really want to have to do this 650 times for each individual constituency: is there any way I can select all of it and do some kind of trick so that it knows when to go to a new row based on when the name of the constituency changes?
A code to transpose from rows to columns.
But why doesn't it transpose like the sheet 'How it should be' but all in one row?
HTML Code:Â
Sub MG10Jun34()
Dim Rng As Range
Dim Dn As Range
Dim c As Long
Application.ScreenUpdating = False
[Code] .......