Have Cell Allow (Range) Or Multiple Cells To Be Referenced

Mar 14, 2014

Trying to get a problem solved to have a % discount & 'flat' $ discount apply to cell(s) referenced. Product A, B & C are available in 3 different materials. Objective is to allow each material's Max Discount column to apply discount(s) referenced in cell J3 & K3, but only in the order of applying the percentage discount BEFORE the 'flat' $ discount.

Formula in cell C3 works IF the cell "Range to apply discount" I3 = "B3". Works just fine if I allow only one cell to be displayed in I3, but ideally, I'd want this to allow the said discount(s) in cell J3 & K3 to apply to any cells mentioned (for instance, for Product A Material 1, Product B Material 2).

I had tried a drop-down menu using Data Validation, which in my actual project allows me to select ONE cell at a time (out of my list of options), which is okay, but it would be extra useful to have a checkbox option to select which ones to apply the same discount to, instead of creating a massive embedded IF function to have each product in each material find whether it's cell is referenced in 20 different places (if I just copy the already functioning single cell reference tool).

The scale in which I'd like to use this in would be to apply specific discounts for one product, but a different discount for another product or material, and allow the input cell I3 to include a checkbox drop-down option (like the filter/sort), but not remove the data in the table (Range A2:G5 in this example), so I can hide any unnecessary columns and print, showing certain products & materials having a 10% discount, while others having a 20% discount, with an additional $5 off, etc.

[URL] ........

View 2 Replies


ADVERTISEMENT

VBA Code To Change Font Colour Of Cell Referenced Letter Strings Within Range Of Cells

Jun 13, 2014

I am working on a spreadsheet for work, and have managed to do everything I need to so far but I need to colour specific letter strings, certain colours within a range of cells (each letter string will only appear once on each sheet)

The strings I will be looking for vary depending on data entered so I will need to cell reference them

The strings that need colouring are in cells with other strings that must stay black (They cannot be separated from other strings due to the nature of the grid)

I need some strings red, some green, and some blue.

These changes should also apply to the whole workbook not just one sheet.

Is there a way to do this with the VBA code.

View 3 Replies View Related

Countif(Range, Multiple Referenced Values?)

Jan 8, 2009

I was wondering if it's possible to use a countif so that the condition can be a range of values also? For example, A1 = 14.12.08, A2 = 15.12.08 and A3 = 16.12.08

So I can have a countif that looks like: Countif(B1:B300, A1:A3). It doesn't work when I try it, but was wondering if there's a way to achieve the same result? So if B1:B300 contained any of the values in A1:A3 it would count the amount of times they appear in the B range.

View 3 Replies View Related

How To Get Referenced Cells Returning Blank Cell Instead Of Zero

Apr 6, 2014

Referenced cells returning zeros: can these be made blank or string data?

But why I still get the value 0 instead of blank cell when I press ctrl+shift+enter?

My formula = IF(U15="Bank", PROPER(E15),"")
and E15 = VLOOKUP(B15,'Customer Data'!$D$6:$K$100,3,FALSE)

View 5 Replies View Related

VBA To Follow Formula To Referenced Range And Edit Source Cell

Feb 23, 2014

I have tried numerous versions of macros I found. Most get the same error of; Range object error or script error.

Here is the formula: VLOOKUP(C$13,VESSELS_DATA,ROW(30:30)-12)

What I would like to do:

1) double click to on the cell with the formula

2) goto the worksheet "DATA_TABLES" that contains the Named Range "VESSELS_DATA"

3) go down the rows until the c13 is matched

4) offset column the same as in the above formula "Row(30:30)-12"

View 9 Replies View Related

Naming Multiple Worksheet From Referenced Cells In One Worksheet

Jan 21, 2013

I have a monitoring database and I want to create a 'source' sheet in sheet 1 whereby when I enter names into a certain column they rename different tabs/sheets in the worksheet. for example, the name 'Brown' inputted in cell 'A2' would rename sheet 2, Black in A3 would rename sheet 3 etc.

View 2 Replies View Related

Replace Cell References In Formula With The Header Of The Cells Referenced In Said Formula

Dec 22, 2009

Here is the scenario:
A B C D
BananasApplesOrangesTotal113=A1+B1+C1

I need to reference the formula in D1 with the cells headers names.

In a perfect world, it would take
=A1+B1+C1:

and produce:
=Bananas+Apples+Oranges

View 9 Replies View Related

Referenced Value In A Cells In 5 Rows

Mar 6, 2006

I have a vlaue referenced from a sheet 2, and I need to put this value (Same value) in a cell, say O3,and then O4, O5... six times counting from O3. i.e O3=150, O4=150, O5=150....

150 is coming fr4om "Worksheets("Interest Calculations").Range("F4")"

For x = 1 To 6
Range("O3").Value = Worksheets("Interest Calculations").Range("F4")
Next x

View 9 Replies View Related

How To Unfix Multiple Cell References From Formulas In A Range Of Cells At Once

Jan 3, 2014

Is there a way to unfix multiple cell references from formulas in a range of cells at once?

View 2 Replies View Related

Sorting Cells With Referenced Names In Name Box

Jun 8, 2009

I'm trying to do is sort cells which are referenced by names in the name box when a button is clicked. All the coding is in VBA.

If a cell is sorted by a macro, I would like the referenced name to move with it on the spreadsheet.

For example if the referenced name box for C5 is Bob and Andrew is the referenced name box in C6, when a button is clicked I would like the Andrew reference to move to C5 and Bob to move to C6. This is sorting in alphabetical order. However, I would like the referenced names to stay the same. Referenced Name refers to the cell name box.

Is there a way to do this in VBA?

View 12 Replies View Related

SUM Formula Not Summing All Referenced Cells

Sep 5, 2006

My problem is that when i used the forumla = SUM(Q11:AW11) to add up the range of cells it dosnt do it. It only added up 2 of the numbers in the range of cells. And missed out everything else. This forumla is being used to add up all the volunteer hours for volunteers for each month and for all the other months the formula worked fine but now its just being a pain.

View 8 Replies View Related

Replacing Referenced Cells With Static Text?

Feb 26, 2013

I'm making a vba macro that takes a workbook and splits and saves it as individual sheets. In this process I need to find all the referenced cells (ie =E5) and change them to their text or numeric value. A few things I've found on the form and tired with no success:

Selection is a column selected from the top to the last used cell (I know there is only 4 columns that have references)

VB:
Selection.Copy
Selection.PasteSpecial Paste = xlPasteValues

Also tried:

VB:
ActiveSheet.UsedRange = ActiveSheet.UsedRange.Value

I feel like one of these should be working. But even after the paste the values are still references.

Edit: An afterthought, if I were to select the whole sheet and do a copy/special paste would it replace all formula cells with their calculated value?

View 5 Replies View Related

How To Hide Displayed 0 In Two Circular Referenced Cells

Feb 3, 2014

Very simply, if A1=B1 and B1=A1 - how do I trick excel into displaying a blank cell for the purpose of printing pages?

Further information:

I am working on an evidence log, it's just a spreadsheet with columns for collection info; all of the information put into the log on one sheet, is referenced on a second sheet where the info is arranged in a printable grid to make sample tags.

For some ungodly reason, I have been instructed to make all of the references circular, so that anyone with a particularly masochistic streak can log their information on the tag to populate the log and vice verse

This results in my log and tags each having 0 values displayed in all of the cells, which I didn't think was a problem, until it was pointed out to me that people may want to print out sheets and use them to take notes in field, making blanking the cells my ultimate goal.

View 1 Replies View Related

How Can A VBA Macro Find Which Cells Are Being Referenced In A Formula

Jan 15, 2008

I have a spreadsheet with a number of different formulae on it. I have a macro which I want to extract which cells are referenced in the formula in the active cell and then branch based on the which cell is referenced.

Is there a way to find the referenced cells without parsing the formula string?

View 9 Replies View Related

Macro To Conditionally Format Referenced Cells In Another Sheet

Apr 27, 2013

A
B
C
D

[Code]....

There are four sheets (labeled A,B,C)

Depending on the contents in cells in Columns A and B (which have 1000+ rows), I want to change the background color of a referenced cell elsewhere:

For each row (lets say from 2-1000)

1. If "A" cell is blank -- referenced cell (address in columns C & D) should be colorless -- (as in Row 2 --- cell Z5 in Sheet "C" should be colorless)

2. If "A" cell has text AND "B" cell is blank, reference cell should be colored BLUE -- (as in Row 3 --- Cell F3 in Sheet "C" should be BLUE)

3. If both "A" and "B" cells have text, reference cell should be colored YELLOW -- (as in Row 4 --- Cell C5 in Sheet "B" should be YELLOW)

While I could do this with a conditional format in every referenced cell, it would take too long to enter them.

View 7 Replies View Related

Referenced Cells Returning Zeros: Can These Be Made Blank Or String Data?

Aug 30, 2007

I have a summary worksheet consisting of columns that are referenced to other sheets within the same workbook.

If the cell in the 'referring' (original) sheet is blank then the forumula returns a zero instead of a blank in my summary worksheet, which is messing up some other calculations.

Is there a way to make these cells truly blank, or possibly into string variables instead, so that they do not interfere with my calculations?

View 13 Replies View Related

Automatically Change To Proper Case Once The User Leaves Any Of The Referenced Cells

Nov 6, 2008

In my worksheet there are ranges A3:C37, E3:E37, J3:K37 and P3:P37 that all contain text that I would like to automatically change to proper case once the user leaves any of the referenced cells.

I have tried various codes form this forum and searched for hours on the net for a solution to do this but no matter what I do/try nothing works (for long)

Another forum user did help me out with some code but there was an issue with column C, L & O (which are set as drop down lists) and when the code was put into the workbook these columns stopped working and froze the app.

View 4 Replies View Related

Cell Referenced By Two Numbers

Feb 15, 2009

In cell A1 I have a number representing a column and in cell A2 I have a number representing a row. In A3 I wish to obtain the value from the cell referenced by these two numbers.

ie
A1 = 3
A2 = 4
A3 = value from cell C4 (column 3, row 4). How do I write a formula in A3 to look this value up?? I know about the range function in visual basic but I just want to be able to do this using a spreadsheet formula.

View 3 Replies View Related

IF Formula That References A Cell And Returns A Different Result Dependant On The Number In The Cell Being Referenced

Oct 2, 2009

I'm trying to do a formula that references a cell and returns a different result dependant on the number in the cell being referenced.

For example I've said if A1 has a 3 in it then put the word TEST as the result, plus if it has a 4 put the word RESULT.

What I wrote as my formula is as follows-

=IF(A1=3,"TEST")+IF(A1=4,"RESULT")

It works fine when I only use one result but goes wrong when I add two. If I change the words I want to show to numbers it comes up fine but with words it just returns a Value error.

View 2 Replies View Related

Excel 2007 :: Reference A Cell That Is 10 Rows Below The Cell That Is Being Referenced To In Row Above

Dec 28, 2013

If C5 refers to the value in cell C100, C6 refers to the value in C110 ten rows below. C7 refers to C120, ten rows below that and so on. Is there a formula that you use within excel (not a macro) that allows me to copy the C7 formula to C8 so that C8 will reference C130?

I have tried using INDIRECT and OFFSET formulas but cannot do it without an absolute reference to a fixed cell, which defeats the purpose, since I can go into C8 and manually change it to =C130, C9 to =C140 etc.

Currently using Excel 2007 at work and Mac Pro at home. Thought about R1C1 reference, but don't even know how to change to that style on my Mac.

View 9 Replies View Related

File Name To Be Added In Referenced Cell

Mar 27, 2013

I have 15 files in a folder and need vba code which would open every file from the specified folder and add that file name in the row starting cell "D1" in the "Master File". Below is the code which opens the file from the folder, but need the updated code which will add the opened file name. Also can u pls update this code to not open the "Master file" which is in the same folder when it loops..

VB:
Sub Login_summary()
Dim MyPath As String, FilesInPath As String
Dim MyFiles() As String
Dim Fnum As Long

[Code] ....

View 5 Replies View Related

Putting Text In A Referenced Cell

Jul 10, 2008

In my excel sheet I have a list of where they go, which are basically excel cells.. i.e. A1 is the top left corner.

What I am trying to figure out how to do is, is there a way that I can get excel to see "A1" and then put it in A1 of another sheet on the bottom. Thus I get the same grid I have on the wall, making a map of my things.

Also, I could just cut and paste, but the problem is I'm working on organizing the stuff on the wall, and if I do it the way I want to, when I move things, they should automatically be moved on the chart.

So basically I need it to look at a cell for the reference, choose text from another cell (which will be concaternated(sp) text), and then place it in the referenced cell in the chart sheet.

View 13 Replies View Related

Date Recognition In Referenced Cell

Nov 11, 2009

I have the following two formulas in a spreadsheet, which sum and count, respectively loan information within a certain date range. Both of these are working correctly.

My problem is in substituting the dates with cell references for dates located in a worksheet with a table of dates. The dates from this table work with simpler formulas, but I cannot get them to work here, regardless of how many () "", etc that I try....

View 9 Replies View Related

Lookup File Referenced From Other Cell

Jan 2, 2008

I have a basic blank file which takes production volumes of a product as an input and breaks the figure down to give individual component usage as an output. It then uses this figure to tell the user the best configuration to hold stock.

This file is 'save as' each month as the month, year and filename (ie: 11.2007MPS.xls, 01.2008MPS.xls) and then the monthly production figures are entered.

Within this file there are 'comparison' worksheets, cells on this page look into the previous months file and tell the user where changes have occurred; showing the physical changes that should be made. This lookup is referenced to a cell that gives the previous month ('MPS INPUT'$D$13), this is filled in by the user.

At current I am using the Vlookup(Indirect formula:
=(VLOOKUP(B4,INDIRECT("'I:SCIPMPS["&'MPS INPUT'!$D$13&"MPSCOPY.xls]Row 2'!$A$2:$N$100"),5,FALSE))

Yet, this requires all the previous months’ files to be open which isn't really feasible in the long run. Solving this issue using custom 'add-ins' (as i believe have) is not feasible either since the file will be used by many users who are not amazingly I.T literate.

View 6 Replies View Related

Use Value From A Cell Immediately Adjacent To Referenced Cell In A Formula

Feb 25, 2014

I need to create a cell reference which will allow me to specify a cell in a table by value (using indirect) and pull the value from a cell immediately one row over for use in a formula. Say I have a table Containing column A and B; I want to reference the value of a cell in column A (e.g. "Large Widget") and receive (in the formula) the value in column B (e.g. "41 cm^2").

View 4 Replies View Related

Referencing Cell And Filtering Causes Cell Referenced To Change

Jul 10, 2014

Warhammer Quick Reference Desktop.xlsx

Its on book 2.

I'm trying to reference the Cryptek total that I got in the previous area, and put that result into the grand total army point formula. When I reference the solution cell, or even copy and paste the very same equation into it, and then proceed to filter the referenced cells change...

The obvious solution that i thought would work is write =D45 next to Cryptek in the point value column, then if I filter it SHOULD maintain the information from D45 except it doesn't.

View 11 Replies View Related

Display Contents(text) Of A Cell Referenced By A Given Cell

Feb 9, 2009

I want to display the contents of cell B5 in A7 by using cell C7 to show the location of the cell to be displayed. Cell C7 has a formula that shows the cell location of information (text) that needs to be displayed. How can I show in A7 the contents of cell reference shown in C7? In figure attached I show an example to better understand. Want in A7 to show the contents of B5 by reading what is in C7. So A7 cell should show word Road.

View 3 Replies View Related

Bring Referenced Cell Values To Top Of Worksheet

Apr 18, 2014

ATTACHMENT: Order Form.xlsx

I am creating an Order form for my job in Excel. On this form, it displays the Top 100 items for sale. All the basic functionality of the form is working fine, my real issue is with the order summary tab.

On this tab, I would like for any Items with a Quantity on the first Sheet to transfer to a summary on the Second sheet.

So far, I am able to get the data onto the second spreadsheet. My final question is, can make the items on the summary sheet go to the top available row? Basically if I have items in row 3, row 7 and row 9 - I would like for the items to automatically fill in rows 3,4,5 respectively. (on the second worksheet)

I have seen people make this happen (on this board even) but for some reason, when I try using those formulas I do not get the results I need. I have attached the file to this post.

On the Tab entitled "Adv Piano" this the product list. On that tab, customers can put a Quantity in column G for the items they want to order and that item's details, price, and quantity will automatically appear on the 2nd tab, "Order Details" in columns I - L in the corresponding row (this is already done)

I need the information in the columns I - L on the "Order Details" sheet to appear in columns C - G on the same sheet, in the same order but to fill in towards the top with the corresponding quantities, item details and price remaining in the same row.

Order Form.xlsx

View 10 Replies View Related

Sumproduct Exact Match To Referenced Cell

Jan 16, 2009

I have the following formula in a cell that gives me a sum of items matching certain criteria.

View 3 Replies View Related

Dialog Box - Including Text Referenced From A Cell

Dec 11, 2009

I want a dialog box to have a label box reference a cell within a work sheet. This referenced cell contains a formula linked to other cells so it will change value.

View 14 Replies View Related







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