Table References Based On Cell Values?

Aug 13, 2012

I'm trying to put together a dashboard that is referencing a table. Now the dash board I would like to have it so I can change a value and the details will update based off of my selection. This is all drived off of named ranges and have that working. The part I don't have working is dynamically changing what part of the table is being referenced to.

i.e. Say i have modeling quality I have a formula that looks like this

=SMALL(IF(Table1[[#All],[Modeling Quality]]=$D$12,ROW(Table1[[#All],[Modeling Quality]])),ROW($M1))

Which works perfectly. However if I change modeling quality to say modeling experience which has different criteria i need the formula to look like this

=SMALL(IF(Table1[[#All],[Modeling Experience]]=$D$12,ROW(Table1[[#All],[Modeling Experience]])),ROW($M1))

Is there a way I can drive the table reference from a cell selection? I've tried referencing them by manually typing in the cell address to no avail.

View 3 Replies


ADVERTISEMENT

A Formula That References A Table Based On Contents Of Another Cell

May 20, 2008

Here is what I am trying to achieve:

I have a workbook with two tabs, on the first one there is one column and the top of the column(A1) is a dropdown containing the options 'Boy' or 'Girl'.
One the second worksheet I have two named tables (Boy and Girl) - these tables each contain a single column array with 5 names in each (so we have a table of 5 boys names and a table of 5 girls names)

What I want to happen is when a user selects an option from the dropdown in A1 the cell below(A2) is populated randomly with a name from the corresponding list.

I have achieved this initially using the following formula:
=IF(A1="Boy", INDEX(Boy,RandInt(1,10)), INDEX(Girl,RandInt(1,10)))

This works fine, but I will need to expand this for several dropdown options, so my new workbook will have a dropdown of car makes, and each make will have a list of the models associatied with the car make (e.g. Ford: Fiesta, Escort, Mondeo...)
But I do not want to have a ridiculously long nested IF statement for every car Make, so what I want to do is something along the lines of the following:

=INDEX([CONTENTS OF A1],RandInt(1,10))

So I use the text selected from the dropdown in A1 as the TableName in my formula - however, I cannot retrieve that to use in the formula without it coming back as a text with the "" included and my formula errors!

View 9 Replies View Related

Pivot Table Fields, Based On Column References

Sep 26, 2007

I have a pivot table which draws data automatically from a database

What I would like it for the customer field of the pivot table to only equal the customers which are present in another worksheet (Column A:A)

View 9 Replies View Related

Values Based On Row References

Mar 10, 2007

If I have the spread sheet

........Month Deal Name Deal Size
Row1 May
Row2 DrewDeal 50
Row3 DanDeal 100
Row4
Row5 June
Row6 FankDeal 60
Row7 MaryDeal 200

I want to know can I output into another sheet the values based on the month. So I would have a drop down window with the months, and if I selected May, all the data from Row1 to Row 4 would show up. If I selected June all the data from Row 5 to Row 7 would show up

If I have the Same Table, I want to find out the Sum of the Deals in the months, so I want to create a table that shows the months, and then the SUM of the Deal Size Column.

View 2 Replies View Related

Move Rows In Table Based On Cell Values

May 1, 2008

I need to CUT & PASTE records according a cell value. For example:
Columns A2 to AC1000 there are some values. In each rows of AD2:AD1000 the values repeats with the result something like "YES", "NO", "N.A.", "LESS CHANCE". So, I need to shift (to another sheet) only the entire rows with values of "NO" and "N.A."

View 6 Replies View Related

Fill Table Based On Matching Cell Values & Export

Dec 21, 2007

(refer to attached workbook)

For what I'd like to do, the attached workbook actually represents 2 or more workbooks. The 'Project-PO Report' tab is a sample of what will be several workbooks/reports that will be generated from the data in 'POTASK'.

The 'CMD_BUTTON' tab represents how I plan to use a command button " IMPORT DATA" to import the data into this workbook, then use "RUN PROJECT-PO-REPORT" to call the MACRO to achieve my objective,as stated below. (Originally,this workbook was about 8mb, so to get this under the size for attachment, I just copied the bare minimum of what I believe would be needed to assist me, and so there's no buttons or macros or dynamic name ranges, as there will be...)

Here's what I want to do: ...

View 3 Replies View Related

Pivot Table Labels Based On Comma Delimited Cell Values

Jan 25, 2010

"Is there a way to make values in a cell that are comma delimited (ex. cat, dog, fish) became separate labels in a pivot table instead of getting labels like 'cat, dog', 'fish, cat', 'cat, dog, fish' which represents the exact value in the cells.

The only real option I can think of would be to make an extra rows with the same data for each pet type. For example if the pets were 'cat, dog', there would be two almost identical rows except one would have 'cat' and the other 'dog'."

I have made a vba setup which can solve the problem. But it is pretty complicated and unstable. I need a solution which is not vba based. ~Or a least a very simple code!

View 2 Replies View Related

Reformat Table Layout To Repeat Rows Based On Cell Values

Jun 11, 2008

I can export inventory data from my Point of Sale system that looks like this:

I need to manipulate it to look like this:

To do so I think I need a macro(?) to:

Copy and insert as many rows as the quantity in Column C. In case of >1 the row is deleted.

This would allow me to print labels for every item in my inventory.

View 3 Replies View Related

Cell References As Values ..

Aug 9, 2009

If I have values in cell B5:B8

B5=0
B6=3
B7=7
B8=10

I want to have a standing formula in Cells J2:M2 that will always reflect whats in those cells. I don't want to use transpose nor do I wnat something as simple as J2=+B5,K2=+B6,etc.

I would like to know if there is a formula that would add the values in a certain row to a cell

For instance:

I want J2 to reflect what is in B5 AND I want K2 To reflect what is in B5 plus a row which would be the value in B6. I have a reason for doing this as I am going to import 120
ranges beginning at a1 to I30 on each sheet while having the sheet I am importing to have these formulas starting at J2.

I tried using +cellnumber+row, but it just gave me the row number and not the actual value in that cell.

View 9 Replies View Related

Nested IF (index And Match): Calculate A Charge In Cell K15 Based On Values In B9 And C10 Referencing The Table I8:R9

Jan 21, 2010

I'm trying to hone a quoting tool to generate an amount based on a given range and minimum charges for specified subsects of the range. If you reference the attachment I'm trying to calculate a charge in cell K15 based on values in B9 and C10 referencing the table I8:R9. What I cant figure out is how to create a minimum charge of 50 for J8:P9 (points A-G) and a charge of 95 for Q8:R9 (points H-I).

View 2 Replies View Related

Conditionally Format Cell Using Absolute Values And Relative Cell References?

Mar 25, 2013

Below is my code which isn't formatting the cells it's suppossed to. It looks like it isn't doing anything. I think the issue might be with the highlighted section of my code, but when I go to "Manage" my rules for conditional formatting, excel references the appropriate cell under the "Applies to" section. I am using relative cell references for for the majority of the rest of the code and this section follows a section that selects the correct cell for this conditional format.

Code:
Selection.FormatConditions.Add Type:=xlExpression, Formula1:="=""ABS()>.005"""
Selection.FormatConditions(Selection.FormatConditions.Count).SetFirstPriority[code].....

View 1 Replies View Related

View Formula Values Instead Of Cell References?

Apr 27, 2014

Is it possible when copying and pasting a formula, to see the values from each cell rather than the cell reference?

View 12 Replies View Related

Sum By Multiple Criteria & Use Cell Values As References

Nov 19, 2009

I want a total of column F based on criteria in column D and column K from the worksheet named in cell C9. I have put in the indirect function in the first part but am messing up the syntax in the second and third part of the formula. "Indirect(C9&" should be where 'Oct2009' is shouldn't it. Where am I going wrong with the following formula?

SUMIFS(INDIRECT(C9&"!$F$2:$F$11000"),'Oct2009'!$D$2:$D$11000,$C$1,'Oct2009'!$K$2:$K$11000,"YOKO")

View 9 Replies View Related

Cells Values For External Cell References

Apr 17, 2008

Is there a way of writing a formula to create a reference to an external spreadsheet? I have a folder containing 100s of workbooks all based upon a template. I can create a directory listing of this folder using a macro within Excel.

e.g.
Directory listing
C:My DocumentsReturnsFile1.xls
C:My DocumentsReturnsFile2.xls
C:My DocumentsReturnsFile3.xls

I would then like to use this list of file paths to create links to several different cells within worksheets contained in each of these. I know that if I did this manually for each worksheet the formula would be a variation on =[C:My DocumentsReturnsFile1.xls]Sheet!Cell. Is there a way that I can automatically create these external references? i.e using values in column A (directory listing) to create many external references, say in column B


I use my directory list and then a formula or macro populates automatically these external references? The file names in the directory change daily (100s of worksheets!) so I don't want to have to manually input these each time. If the folder containing the workbooks was held on an intranet would there be a similar solution?

View 2 Replies View Related

Using Cell Values As Partial Spreadsheet References In Formulas

Feb 21, 2014

I've attached a sample document of my data layout. On the Compare tab, I'd like to build a sumif formula that takes the data in column B and uses it to reference the other tabs without having to use a large nested IF statement. For example, on the Compare tab, in cell C2, the formula will know to look at the "JAN MONTH" tab because B2 says "JAN", then the rest of the sumif would be looking at the data in column A and matching it with the data in column A in the correct tab.

View 1 Replies View Related

Structured References And With Cell References I Get A Column Of Zeros

Nov 25, 2007

It is suppose to be that if the employee is "FT" and has worked >=4 years the return is 15. But if the employee is FT and has worked 2 years but less than 4 years then it is suppose to return 10 (these are days off) Or if the employee is FT and has worked 1 year, but less than 2 then it should return 5 days off. And all the others in the column get no days off.

I have tried to do it with structured references and with cell references I get a column of zeros!

View 9 Replies View Related

Sum Based On Corresponding Values In Another Table

Jun 3, 2008

I am trying to calculate a sum based on an If - say I want to perform the calculation in A1, if the values in column B match any one of the values in a separate table, then in A1 it needs to sum the corresponding values in column B.

I'd like it to be as simple as possible, preferably not using an Array formula although if that is the only possiblity then I will use that.

Please see the attached file. I dont' really know which is the best way to lay out the table at the top (highlighted in yellow) until I know what the formula would work best based on. Any suggestions welcome!

I would like to perform the calculation in cell C76. It needs to add any values between G18 and G71, if the cells to the left in column F match any of the consultants' iniitials under the heading London at the top. Then I'd like to be able to do the same in cell C77 for Bristol etc.

View 7 Replies View Related

Counting Values Based On Table

Jul 25, 2013

I have a column of data (say in cells J1 to J20) such as

AB*
CD+
EF&

etc etc - not every cell has an entry.

In another column elsewhere, each of these items has a number associated with it, e.g.

AB 3
CD 3
EF 4

Note that the symbol (*,+,&) is not in the table.

What I want to do is this: For each value in column J, I want to lookup it's corresponding value in the table and add 1 to a count if the value is say 4 (so in the example the cell containing my result would be 1 because only EF has a value of 4). If I wanted a value of 3 my count would be 2 (because AB and CD both have a value of 2).

I think I need a combination of countifs, vloopkup and left (as I need to strip off the number in row J somehow) but I can't get the syntax right (left for example won't work on a range).

View 1 Replies View Related

Creating Lists Based On Values In A Table

Feb 16, 2014

I am trying to create an array formula that would list all the corresponding rows that contain a certain value.

Here is an example workbook to illustrate what I'm trying to accomplish:

Book1.xlsx

I need to create a list/table that would show all the row labels that correspond to a value. For example, I need to make a list of all cells with a value of 1 under the "Green" column and list the row label(s) that correspond to 1.

Creating the list would result in following return values for "Green": A,C,E,F in separate rows.

I've been using [URL] ..... as a guide but the formulas did not return a corresponding row label. Pivot tables did not accomplish this either.

Is it possible to do without using an array formula?

View 6 Replies View Related

Create Table Of All Possible Combinations Based On 4 Values

Mar 6, 2012

I'm trying to create a table of all possible combinations based on 4 values (8,4,2,-2) into 6 columns. An example is below of what the table should look like

Field 1Field 2Field 3Field 4Field 5Field 688888888888488884488844488444484444488888288882288822288222282222222222288888-244-2-2-2-2444444884422

View 7 Replies View Related

Return 2 Values From Table Selection Based On Value?

Aug 11, 2013

I'm trying to return 2 values from a table selection, based on a value i.e. if I look up the table for "Team 1" - i'd like to return Team 1 v Team 6, Team 9 v Team 1, and so on, to a Fixtures Section in a different area of my Excel Sheet.

However, the look up value "Team 1" could be in column J or N. I've tried Index, Match, VLookup, IF statements etc....

See below:

J
K
L
M
N

[Code].....

View 1 Replies View Related

Vlookup References A Table In Another Workbook

Jul 7, 2007

In trying to construct a Vlookup formula that references a table in another workbook, I find that when I double click on the tab in the source workbook to insert the name, and then complete the formula with the column reference and a False statement, I keep getting an “Invalid” statement in the fx wizard when I try to solve this problem. By entering the name range by typing, I get a “#NAME?” error when I go to the wizard to see what I’ve done wrong.

This issue was addressed in the link that I searched for in the old help files and submit in this question. It seems that the issue was never resolved in that posting and I can’t figure out how to resolve this matter.

View 9 Replies View Related

Pulling Column Headers Based On Table Values (not Max Or Min)

Jun 12, 2014

I've done some searching and cannot find the right answer for my question. I need to create a formula that will pull column header text data based on cells within a table that contain a numeric value not equal to zero. The catch is that I cannot use any one specific numeric value as the basis for a Lookup.

I've attached an example spreadsheet for reference. Basically, I need two formulas:

1. Formula to pull column header (Receiver name) based on Sender. This is a necessity.
2. Formula to pull individual lines for those senders that have multiple receivers (Division D in my example).

My actual data file has 80+ senders and 100+ receivers.

View 6 Replies View Related

How To Conditional Format Data In One Table Based On Values From Another

Aug 12, 2014

how to conditionally format the data in one table based on the criteria specified in another table on a different worksheet.

The Table I'm trying to format has a series of Products and Volumes that'll be available on different dates. Table 1.jpg

The Criteria table has each product and a corresponding Key Data. Table 2.jpg

All I want to be able to do is have the cell corresponding to the criteria to be highlighted but can't for the life of me figure out how to do it. If it makes a difference I'm working offAttachment 338501 a Mac. Excel Version 2011 14.4.3

View 3 Replies View Related

Filter A Table With An OR Logic Based On Columns Values

Feb 10, 2010

i have a table and have some columns.

i want to filter the table so that i just see the records which have "text1" in ther column "F" OR they have "text2" in ther column "H", for example.

How can i implement an OR filter ?

View 2 Replies View Related

Auto-populating A Table Based On Ranked Values?

Jan 21, 2014

I am looking to create a table with ranked projects from a different tab that is able to pull data from the same tab and change based on value updates. It is difficult to explain, so I have attached the file below.

What I am looking to do is pull the ranked projects from tab #7 - Scoring to tab #5 - Final list. Each project has a unique ID#, but a lot of the columns I need populated are not unique. I tried using a combination of arrays, but it always returned a #value into the cells.

P.s: In tab #5 - Data sheet, the formulas in I5 and P5 work, but are pretty ridiculous, and I'm pretty sure there must be an easier way. I was looking up values from the 8-budget tab to try and determine which group column H values were from. The only complication I was having was that a project can be allocated to either a functional unit, or group so I need to have the "group" total as independent, not just as a sum of the functional unit totals. Like I said, these formulas work,

View 4 Replies View Related

Format Cells Based On Values In Pivot Table

Dec 23, 2009

I have a pivot table and next to it I added some calculations which are based on data from the table. In my "real" file, the cells next to the PT are formatted with conditional formatting based on other values in the sheet (see attached sample file). What I now need to do is add borders to the cells in columns “D:G” only if the cells in “B5” and downwards are not empty. I have tried doing it with conditional formatting but there are some other rules which contradict this setting.

The idea is to make the cells in columns “D:G” look like they are a natural extension on the PT. However, the table can grow or shrink (in length) and I want to see borders only around cells that are on the same rows as the data in column “B” (staring with B5). I think that whatever solution you can provide (if you can...) should be based a workbook_change event, because in my “real” file, the length of the table is changed whenever I select a different “page” of the PT.

View 8 Replies View Related

VLookup On Table With Multiple Worksheet References

Jul 17, 2013

I have a question dealing with a variable column and cell reference I'm using. To make it simple here's what I have done. On the FRUIT tab I have the following table in location BU132 - BV161

Name Column
Apples A
Pears B
Corn 'VEGGIE'!A
Peas 'VEGGIE'!B

I'm using the following formula to get the location of a cell on both the FRUIT and VEGGIE tab that has the value.

=INDIRECT(VLOOKUP(CH61,$BU$132:$BV$161,2,FALSE)&CN61)

{where CH61-CH100 contains fruits or vegetables and where CN61 is a table that has the column reference which goes from 1 to 40)

This formula works great as long as the item is on the FRUIT tab. I can just drag the formula down the entire column and get my values for all the FRUITS listed in CH61-CH100. But, it doesn't work for any items in CH which are on the VEGGIE Tab. What syntax do I need to use in the cell next to Corn and Peas above to get this to work right?

View 2 Replies View Related

Pivot Table Not Counting Values (but Does Count Based On Labels)

Jan 24, 2014

I have column in my table that calculates time in hours between now and ticket open date (ticket open date in B1)
so, in C1 i have following formula:

=(now()-B1)*24

Results are in hours, such as 15, 25, 32, 65 etc

In pivot table, I would like to see how many tickets with values of less than 24 or more than 48, etc

My available columns are: Region, Ticket#, AgingOpenHr(this new column).

I tried it different ways, and I cannot get it Less Than and Greater Than work under Values, works if I select grater than or less than in Label, but label does not produce consistent numbers.

View 1 Replies View Related

Using References In Pivot Table Calculated Fields Formula

May 23, 2007

Worksheet A contains two columns, that maps individual operations to their unitary cost:
COLUMN 1 = a list of operations
COLUMN 2 = the cost associated with each operation.

I can do a vlookup on this worksheet to retrieve the cost of each individual operation.

On another worksheet, I have a pivot table with a field that produces the sum of operations performed by type of operation, eg.

operation 1 was performed 5 times
operation 2 was performed 7 times
operation 3 was performed 4 times

I want to add a calculated field in the pivottable, that would output the total cost per operation. The formula for the calculated field in thepivot table would be
= operation * vlookup("name of operation","range for lookup table",2,0)

... unfortunately, "references, names and arrays are not supported in pivottable formulas".

View 9 Replies View Related







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