Logic With Multiple Cells, Selecting Between The Two

Jan 16, 2009

I'm working with Excel 2003 on a peice for work that requires users to enter their current grade and, if they have one, a temporary grade. Another sheet in the workbook needs to add together all those in a certain grade and who answered a certain way to a drop-down table, so that I can use it to figure out what percentage of staff are of each grade. At the moment it looks like this:

=SUMPRODUCT(--(Work_Data!F2:F9827="Grade 1"),--(RIGHT(Work_Data!K2:K9827,3)="Top 25%"))

Which only draws information from the current grade (column F) and the answer they give (Column K). What I can't come up with is a formula that will only take column F as long as column G hasn't got a temporary grade, but if it does have a temporary grade will take column G instead.

View 4 Replies


ADVERTISEMENT

Automatically Selecting Multiple Cells?

Nov 2, 2013

When I click on a cell, for example T13, cell U13 will also automatically be selected. I have looked everywhere for something that is making it do that, but can't find an answer.

It doesn't happen with every cell. I have to do some more clicking around to see if there is a pattern.

View 1 Replies View Related

Finding And Selecting Multiple Cells

Jan 21, 2010

I'm working on a macro that's supposed to copy certain cells from a sheet, and paste them in another. But the problem is that I can't find a way to get them all in one go. The sheet that I am copying from has a mile-long list that looks something like this:

OR0220018NO-RING 21,95 x 1,78 N270 BS-0205,00
OR0220018N90O-RING 21,95 x 1,78 N290 BS 02022,00
OR0220018VO-RING 21,95 x 1,78 V275 BS-02010,00
OR0220018V90O-RING 21,95 x 1,78 V290 BS 02013,00
OR0220020NO-RING 22,00 x 2,00 N2709,00
OR0220020VO-RING 22,00 x 2,00 V28024,00
OR0220025NO-RING 22,00 x 2,50 N2705,00

It goes over 3 columns. I want to select column A, B and C in every row that contains the letters "N270".

View 2 Replies View Related

Ignoring Specific Values While Selecting Multiple Cells

Dec 20, 2012

I have to correct a spreadsheet that takes a bunch of values and creates an average.

=average(N15;N29;N43;N57;N71;N85;N99;N113;N127;N141;N155;N169;N183;
N197;N211;N225;N241;N255;N269;N283;N301;N315;N329;N343;N357)*100%

I didn't create this. Anyway, the problem is that most of these cells will be empty unless a whole bunch of other stuff is filled. These N cells take several values, put them together and create a new one. As time goes by they are filled. While they aren't filled, they'll return the DIV/0 error.

So when that formula I pasted there uses all of these values, it also returns a DIV/0 error because it is getting info from cells that have this error.

I managed to correct that with this
=averageif(N15:N357;"<>#DIV/0!")*100%

It works like a charm save for one problem. When I use averageif I'm forced to use an interval. Along this interval other values show up (it is always a value ranging from 0 to 2). So when the formula works its magic the results are slightly skewed because of this other value that I don't want.

So I figure there must be two ways around this. The first one would be using something like averageif that lets me use several handpicked cells instead of an interval. If I try

=averageif(N15;N29;N43;N57;N71;N85;N99;N113;N127;N141;N155;N169;N183;
N197;N211;N225;N241;N255;N269;N283;N301;N315;N329;N343;N357;"<>#DIV/0!")*100%

It doesn't work, it says I have too many values. So if I could the exact same thing as I did with averageif but keeping all of these values it'd be super nice.

The other solution, less nice but equally effective I guess, is using this same interval but having more than one criteria. The first criteria would still be the one telling it to ignore DIV/0 error, the second criteria would be the one to ignore any values equal or lower than 2.

View 5 Replies View Related

Selecting Multiple Cells To Fill From Dropdown List

Apr 1, 2014

I've made a drop down list and when I select multiple cells and choose from the drop down list, it only fills one. Here's pictures:

So in that first picture, I've selected multiple cells. But when I drop down the menu and click my selection, this happens:

Why is it that all the cells I've selected does not fill with the option that I chose from the drop down. I highly doubt that I have to manually click all the ones I want to fill with what I choose from the drop down list.

View 1 Replies View Related

Excel 2007 :: Stop Automatically Selecting Multiple Cells

Oct 1, 2009

I use Excel mainly for creating & updating simple logs, and the problem I keep running into is that when I click in a cell, it will automically select & highlight multiple cells below the one I am trying to work in. It will select anywhere from 4-5 cells up to 13. I don't know what this function is, and I don't know how to fix it. But it makes it very difficult to navigate and cut/paste or change a formula.

View 5 Replies View Related

Running A Macro To Copy Multiple Cells From A Row By Selecting A Cell

Feb 21, 2009

I want to be able to select a cell, for example A10, this would then run a macro that would copy and paste several cells of information along that row and paste it on another worksheet. However, if i then choose a15, a3, a79 in turn (using the control key), it would run the macro using those rows in turn.

i'm looking forward to hearing if and particuliar how this could be achieved.

View 13 Replies View Related

Logic With Multiple Conditions

Jan 15, 2009

I want cell B to be blank if 1 of 2 different conditions are met. If Cell A is blank then so too should be Cell B. If cell A contains data, then I want cell B to perform a formula $D$1-E6.

However, if Cell C contains data then Cell B should return to a blank status.

View 6 Replies View Related

Summing Multiple Rows Using Logic?

Feb 3, 2009

I'm going nuts trying to figure out what formula I could use to give me totals in columns Q and R of the attached file. Basically, in the Weekly Totals column, I want to populate how many Customers and Bags were handled according to each ship name (the data is in the table to the left). Any suggestions would be GREATLY appreciated, I'm taking stabs in the dark but am not coming up with anything that works.

View 6 Replies View Related

Comparing Multiple Ranges With Conditional Logic?

Apr 23, 2012

[1] compare (row) ranges across two columns with an unequal number of rows (column A [number] to column C [number])
[2] save each result of [1] where there was a match in column B
[3] for each row where there was a match (now stored in B), compare the value from the same row in column D (date) with the same row of column F (date), and store the result in column E
[4] count and message box the final number of matches from column E

Data Example:

A B C D E F
----- ----- ----- ----- ----- -----
12345 match 12345 11/1/2011 match 11/1/2011
77777 34345 ... ...

A and C numbers match, so check same row date in D that does match date in E, place "match" in E, then count and display.

Sub other()
Dim range1, range2, range3, range4, range5, range6 As range
Dim x As Variant, y As Variant, z As Variant, a As Variant

[Code].....

View 1 Replies View Related

Logic Function To Retrieve Filled Cells

Mar 5, 2009

how to apply this function to my sheet given below. In this budget sheet, I want to create a graph which would show all the items percentage (item by item) with the values given in columns C & H only, leaving out the lines which are empty or bear 0 values.

View 2 Replies View Related

Take Logic (IF) Statement And Implement It As Format For Array Of Cells

Jul 17, 2013

I have a list of data for each year dating back 10 years and some of lists had entries that weren't available so the cell showed up #N/A. I searched and replaced them with 0 but when I graph the data it skews my graph. I was wondering if it was possible to take a logic (IF) statement that says if the cell = 0 then take the average of the next and previous data points so the graph looks smooth. i.e. =IF(G444=0,(G443+G445)/2,G444) This gives me the correct number i want, but i want to apply it to all my lists like a format if possible.

View 1 Replies View Related

If Then Statements: Construct A Logic Test Using The Range Of Cells

Aug 2, 2006

How do you write an If then statement using a range of cells? I want to construct a logic test using the range of cells A7:A19. I want the logic test to see if the any of the values =1. If the test is true then I want it to display the value in B7:19 (which ever cell corrulates to the cell in column A that has the value of 1) and display the number in the B column.

View 6 Replies View Related

Selecting Multiple Row For Sorting

Dec 23, 2008

I am trying to select multiple rows so that i can sort. The code i have

View 2 Replies View Related

Selecting Row With Multiple Conditions?

May 31, 2014

I am trying to copy rows to a new sheet that meet a couple of conditions.

They have to meet condition 1, 2, or 3 and conditions 4, 5 and 6. Meaning have any of those search terms listed in columns L, M, N columns, but no terms in columns I, J, or, K.

Sub filter_data()
Dim rng As Range
Dim header_pos As Integer

[Code]....

View 2 Replies View Related

Selecting Max Value From Multiple Records

Jun 18, 2007

I need to select the record that has the highest number in column C by using an input value like (red).

desired Result : red, gt3, 100

A..............B...............C
red..........rt2.............12
green.......rt3..............4
red..........st2..............33
blue.........st4.............45
green.......st1.............44
red..........gt1............100
blue.........ft4..............85

Is it some variation of the MAX function?

View 9 Replies View Related

Selecting Answer From Multiple Cell

Dec 27, 2013

So I am creating a board game in excel. I currently have a draw card feature to draw random cards. I also have section above where you can fill in the answer to the question and another 2 sections that flip to correct or incorrect. Those formulas work as =IF(AND(Sheet1!J6="When resubmitting the claim to another insurance should you be voiding an adjustment to the S code if one is posted?",Sheet1!I2="Yes"),"That is Correct!"," "). I have another for if Sheet1!i2="no" then it flips to that is incorrect. I want an OR formula that will be like if multiple cells have any text in them it will display them but only one cell at a time. So essentially a way for multiple questions to be able to be drawn and you can answer those questions and be told if they are correct or not.

View 14 Replies View Related

Selecting The Same Cell Across Multiple Sheets?

Feb 10, 2014

I'm after a bit of programming which selects the same cell on the next sheet that I have already selected.

So, If I'm on Sheet1 and I have G5 selected, when I change Sheets to Sheet3 for example, I want it to select G5 on Sheet3.

View 9 Replies View Related

Programmatically Selecting Multiple Shapes

Feb 16, 2005

Trying to select multiple shapes based on shape properties. The missing piece is the code to select the shapes. The examples in the help use the 'Array' function with a list of shape names.

Is there a way to select a random set of shapes without using the Array function?

Or how does one build a list for use with the Array function?

View 10 Replies View Related

Selecting Values In Multiple Colums For A Sum

Mar 5, 2009

I am trying to create a spreadsheet to select different values. I have 5 columns with type A values then 3 cols with type B values, a blk col then 1 cols with type B values and 5 cols with type A values then 1 cols with type B values and 2 cols with type A values a blank 1 col with a B value, 2 cols with A values and 2 cols with B values. [ A A A A A B B B Blank B A A A A A B A A Blank B A A B B ]

I need to select 5 lowest values from this set but a minimum of three A values need to be used. I have used the min, small 2, small 3 for the A set then used an IF statement for the fourth value. The formula returns the correct sum for values up to the fourth value. The problem comes on the fifth value. I am attaching the formula I started with.

=(MIN(F3:J3,R3:T3,V3:W3))+(SMALL((F3:J3,R3:T3,V3:W3),2))+(SMALL((F3:J3,R3:T3,V3:W3),3))+(IF((MIN(K3: M3,U3)<SMALL((F3:J3,R3:T3,V3:W3),4)),(MIN(K3:M3,U3)),(SMALL((F3:J3,R3:T3,V3:W3),4))))+(IF(SMALL((K3: M3,U3),2)<SMALL((F3:J3,R3:T3,V3:W3),5),SMALL((K3:M3,U3),2),(SMALL((F3:J3,R3:T3,V3:W3),5))))

View 4 Replies View Related

VBA For Selecting Multiple Nonadjacent Columns

Aug 8, 2009

in a vba module I currently have this

View 2 Replies View Related

Selecting Multiple Worksheets - Sort All

Mar 14, 2012

The code im using all worksheets. How do I make this sort all but the first

For Each WS In ActiveWorkbook.Worksheets

If WS.Name "Sheet1" Then

Range("A1:X2270").Sort Key1:=Range("A2"), Order1:=xlAscending, Header:= _
xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal

View 1 Replies View Related

VLOOKUP Selecting Multiple Columns?

Sep 11, 2012

i have the following table, i want my Vlookup not only get the description from Column K but to get column K , L , M City and Country as well and put them in Columns D for Description, E for City and F for Country. would this be possible with Vlookup formula or any other formula?

View 3 Replies View Related

Selecting Top 5 Values From Multiple Ranges

Jan 30, 2008

I have four ranges of data in a worksheet that are sorted in order by the value in the final columns. Based on this value I would like to flag the highest five values from all ranges by adding a value in the adjacent cell. Is there a formula/function that I can use to identify the highest values from a number of data ranges?

View 9 Replies View Related

Selecting Multiple Separate Ranges

Dec 23, 2006

I'm trying to get multiple seperate ranges selected but Excel interprets it as criteria even when I use Insert> Function. The problem probably comes from the use of commas in formulae. Example:

I want A1:E1 and A3:E3 and A5:E5 to be the range involved which leads me to construct:

= COUNTIF(A1:E1,A3:E3,A5:E5...

However, Excel interprets the 2nd and 3rd values after the commas to be criteria or something else.

View 3 Replies View Related

Selecting Multiple Data To Copy Throughout Worksheet

Sep 4, 2009

I would like to create a spreadsheet where I enter a list of 30 – 40 names and associated data over 4 separate columns. I would like the option of having a check box next to each name so when checked, it copies that name and associated data in to a section below. This will give me a reduced list of names (lets say 20). From this section I would like the same again to reduce further and once more after that.

View 9 Replies View Related

Selecting Multiple Items From A List In One Cell.

Feb 10, 2010

Is it possible to restrict the values of cells in a particular column to entries defined in a list BUT to allow each cell in that column to display multiple items from the list (seperated by a comma for example). I've attached an example of what I would like to do -

In Sheet "2010 Data" I want to be able to select multiple values in column F....(the values are defined within the list named "Platforms" on the worksheet called "Lookups"

View 4 Replies View Related

Selecting Multiple Ranges In A String Variab

Aug 7, 2009

I have a macro in which I have a string variable named RangeName. I use this variable to select a range of data to copy into an powerpoint slide. However I cant select multiple ranges of data to copy. For eg. when I type:

View 11 Replies View Related

Selecting/changing Multiple Dropdown Boxes At Once

Feb 20, 2008

I'm working with Excel 2002 on Windows XP.

I want to select more than one drop down box at the same time, and copy them as well as rename the cells they refer to.

For example: in A1 there will be a box with LinkedCell set to A1 and ListFillRange set to B1:B5. I now want a similar box in A2, with A2 as LinkedCell. However, when I copy past the box in A1, it still refers to A1 and B1:B5 (the last part is ok). I can easily change A1 to A2 by just changing it in the properties, but the thing is that I also need these boxes in A3:A100. Is there any faster way of changing this?

Also, the ListFillRange might expand in the future. Therefor I would like to know if its possible to select the boxes in A1:A100 and change the ListFillRange to B1:B6 for all at once.

View 9 Replies View Related

Selecting Specific Columns From Multiple Workbook

Dec 13, 2008

I have a worksheet which is used by multiple users at the same time, at the end of the day I can have upto 10 files. The layout of all the files is the same, same number of columns and rows, the only difference would be the file name eg:Test1.xls, Test2.xls etc. information in test1.xls will not be any other file. At the end of the day, these files are emailed and saved in a particular folder.

What I need is get information from all the files saved in a particular folder and keep columns which have data. Additionally, if there is no data for any columns after combining the columns to display an alert. The final file should have information with only data in individual columns and arranged in the order such as Center 1, center 2, Center 3

Eg:test1
Column A Column B Column C.....upto 30 columns
Center 1 Center 2 center 3....upto 30 centers
1 4
2
3 5

test2.xls

Column A Column B Column C.....upto 30 columns
Center 1 Center 2 Center 3.....upto 30 centers
5

The final file will look like this

Finaltest.xls
Column A Column B Column C.....upto 30 columns
1 4 4
2 5
3 5

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved