Formula Similar To Vlookup

Apr 10, 2009

I have created a sheet that contains a new diet program, calculated down to the precise calorie required for my training routine. Please see below for an example of one of my daily meals:

[url]

I need a formula that will help me to create a weekly shopping list (as the values in the example above will change on a regular basis). So I need to take all values from the from columns A & B, multiply them by 5 and then show me the totals in another sheet.

Similarly, I need to do the same with columns E & F, only they need to be multiplied by 2. The totals then need to be added to give me the required amount (in grams) for the week.

View 11 Replies


ADVERTISEMENT

Formula To Find Data And Return Other Column Value (similar To VLookup)

Jul 7, 2014

Sheet 1
Sheet 2
UPC
Sku

[Code].....

I would like to find the value from Sheet2 Column1 in sheet1 Column1 and return value from Sheet1 Column2 and Column3 into Sheet2 Column2 and Column3

And if it doesn't find anything just return Not Found

The problem that a Vlookup is not working for me is because I want it to be the exact text from sheet2 column1 but in sheet1 column 1 it should not be exact as it might have some extra text as seen in the illustration above

View 3 Replies View Related

How To Vlookup Summing Similar Cells

Dec 18, 2013

I have attached the file, in the last sheet (Consolidated) i need to get the data from all the previous sheets, my problem is that whenever i have similar cells the data that is showing is only the first value and not the sum of all values,

View 1 Replies View Related

SUM Values Of A Range Using VLOOKUP Or Similar

Oct 9, 2012

I would like to sum the values of a range using something similar to vlookup. The problem with using vlookup is that vlookup returns only the first instance. I have multiple values therefore vlookup would not work. I have 2 variables which is causing my frustration. I have added an example to explain. On the column where it says "correct answer" is where the formula should go. I displayed what the formula should produce so that it explains what I want as the output. The "static column" which contains variables 1 and 2 doesn't change.

The two variables it needs to search for is shown in the variable 1 and variable 2 columns. And the lookup range is on the left.

So basically it needs to match the two variables in the range and then grab the sum of ALL quantities where the two variables match . quantity amount is found on the leftmost column.

Is this possible. sumif works but only with 1 variable.

LOOKUP RANGE

formula column
static column
static column

formula column
static column
static column

quantity
variable 1
variable 2

correct answer
variable 1
variable 2

[Code] ......

View 3 Replies View Related

Vlookup Or Similar To Return An Array

Apr 8, 2009

I have one sheet that contains data about products, the product number, the class it belongs to, and many other bits. The data is sorted by product number.

In a second sheet I have a list of classes in column G, I'd like to return a list of product numbers in columns H to wherever is needed.

For example there might be two products in class one, class one is in G1, with the first product number in H1 and the second in H2.

View 9 Replies View Related

Vlookup Or Similar With Variable Col Index Number Value

Dec 21, 2007

i am looking to create a vlookup but with the ability to easily change the column number index so that i can use different columns.

As an example. In a worksheet i have a table with the names of cars in column A starting row 3. Column B to m Row 1 is headed Jan to dec, row 2 same columns is a country name eg UK. Column N to Y row 1 is Jan to Dec again and row 2 of these columns is a diff country say Germany. This repeats for a few more countries. The data within Row 4 for these columns i.e per car is all prices. The table therefore shows the prices of cars per country per month.

I then have a seperate worksheet for each country where the cars are again listed in column A and Jan to Dec is in column b to M but the data is hard coded being the number of cars. I would like to use column N to link to 1 of these months hard coded counts dependant on what month i decide to forecast on. The easy way being that if i wanted to use Jan count number i would link the count for that car type to =b4 etc. Is there an easy way to allow me to change the link should i decide i want Feb ?

The second question is within each countries worksheet i want to bring into column p the countries related car price for a month i select. It may be that the count number differs from the price i select.

View 9 Replies View Related

Using Vlookup Or Similar Function To Find Missing Values Compared To Base Values

Apr 30, 2014

I am trying to find some missing values compared to 6 base values. For instance, I have a sheet with some names translated to another language, I am trying to find the languages some names have not been translated too.

For example, if I have six languages, Arabic, Japanese, Russian, Chinese-Simplified, Chinese- Traditional, and Korean to compare too, I want to find any names that are not translated in certain languages.

Sample:

John Japanese
John Chinese - Simplified
John Korean
Martin Arabic
Martin Chinese - Simplified
Martin Russian
Ramon Arabic
Ramon Russian
Sam Arabic
Sam Chinese- Traditional

View 1 Replies View Related

Formula That Is Similar To The Pivot Slicer?

Jan 31, 2014

I have a list box contains of customer name and I used that to set up formula based on your selection in the list box. However, I wonder if there is a way that can select multiple customers in the list box and it will add up all that customers from your multiple selection like in the pivot slicer. I don't know if we have any formula that can do that complicated thing.

View 2 Replies View Related

Nested IF Statements Or Similar Formula

Oct 16, 2009

Trying to make it even more complicated....probably again misplaced my parenthesis

=IF((AND('Input Page'!B43="-",OR('Input Page'!B13="New Lease In-House",'Input Page'!B13="New Lease w/Co-Broker")),'Analysis Report'!D57*'Input Page'!B32/”2”,'Analysis Report'!D57*'Input Page'!B32/"4",IF(AND('Input Page'!B43="-",OR('Input Page'!B13="Renewal In-House",'Input Page'!B13="Renewal w/Co-Broker",’Input Page’!B13=”Expansion In-House”,Input Page’!B13=”Expansion w/Co-Broker),'Analysis Report'!D57*'Input Page'!B32,'Analysis Report'!D57*'Input Page'!B32/"2"))

View 6 Replies View Related

Post Formula From Input Box - Or Similar

Jul 3, 2012

I want a user to be able to manually enter a formula into an input box which will then be used for other code elsewhere?

I have the following code but it does not want to work

HTML Code:
Dim fFormula As String
On Error Resume Next
Application.DisplayAlerts = False

[Code]....

View 7 Replies View Related

Formula To Find Similar Data In Columns

Feb 17, 2007

I need help creating a formula to find data in one column that starts with different letters and counts them up.

For example one column would contain the words amoung others:
DPDE
DNPD
EPRO
EOTH
YBRC
YUND

In the other column I want to count up the amount of times a word starts with the letter D or E or Y. The count comes from another spreadsheet, which the CMRF Tool (See attachment) is pasted at the bottom of.

The Monthly case report file is the file I want to get the count from. These would come from Column O once the data is there. The count would end up in column D of the CMRF tool which is pasted at the bottom of the monthly case report file.

View 9 Replies View Related

Calculate Results Into Thirds Similar To Quartile Formula?

Oct 8, 2013

Just curious to know of any other formulas similar to the "quartile" function that allow you to calculate results in thirds (plus any other if known)

View 2 Replies View Related

Formula- To Pull Cell Values Similar To A SUMIF Function (SUMIF(range,criteria,sum_range))

Oct 25, 2007

I am trying to pull cell values similar to a SUMIF function (SUMIF(range,criteria,sum_range)). For example, in A1 I use a data list created from data elsewhere on the spreadsheet. In the data I created elsewhere, there are 2 columns being used. The 1st column is the information that is being used to create the list and the second column contains specific values (number or text). In the dropdown menu I select an available value (text or number) . When I have selected that value I would like cell A2 to show what the cell directly to the right of it shows from the data I have elsewhere in the spreadsheet as mentioned. I have tried the SUMIF function however it seems to exclude certain values (number or text) and I am not sure what else to use.

View 9 Replies View Related

Vlookup Formula In VBA - Object Error (input A Formula Into A Cell)

Apr 23, 2009

I'm having some trouble trying to get excel to input a formula into a cell. I'm still a novice at VBA right now, so I don't think my problem will be too much of a brain buster.

I want a formula in Cell A6 (and I already know it correctly works) in this format: =E6&VLOOKUP(I6,'FA-Fund Data'!B$1:C$2000,2,FALSE)&J6

View 3 Replies View Related

Vlookup Formula And Function To Combined With Another Formula?

Oct 22, 2013

i have two excel files which are data and master..both files will be use for salary calculating.. the vlookup formula will be use in master files for dragging the salary data from Data files..the formula as follow VLOOKUP(B4:B225,'D:Salary[Data.xls]AUG'!A$1:F$65536,6,FALSE))

the vlookup working fine to me.. but my problems is i want the data to be auto calculated when they have same value in two columns.. or if the name is similar/match in two columns (one for salary and another one for overtime), the salary should be auto calculated.

Data files will contain of these:
a:Employee ID
b:employee name
c:Employee salary/Overtime

Master files will contain of these:
a:Employee ID
b:Emplyee Name
c:Employee Nett Salary (that will be dragging from Data files)

is there any formula that i can used to combined with my vlookup formula?

View 4 Replies View Related

Similar Names ....

Feb 21, 2008

As you can see in the example below, in column B I have a list of vendor names, some of which are similar but not identical. (For Example, in one instance a vendor will be called "Ford Motor Co.", while in another it will be called "Ford Motor Inc.".

I need to populate column C, which at every instance where two plants (listed in column A) have similar vendor names in Column B, a universal name will be assigned and recorded in column C for each of the similar names.

HOpefully it is clear as shown below.......

As you can see in the example below, in column B I have a list of vendor names, some of which are similar but not identical. (For Example, in one instance a vendor will be called "Ford Motor Co.", while in another it will be called "Ford Motor Inc.".

I need to populate column C, which at every instance where two plants (listed in column A) have similar vendor names in Column B, a universal name will be assigned and recorded in column C for each of the similar names.

HOpefully it is clear as shown below.......

View 9 Replies View Related

Matching Similar Entries

Feb 18, 2010

=ISNUMBER(MATCH(X1,A:A,0)) where X1 is cell you are checking for a match to check and see if there are duplicates in 2 rows. Is there anyway to check to see if a cell contains a string of numbers. Example: Cell A1 has 0000402502LK and Cell A2 has 402502. Is there anyway to get this to show up as true since the 402502 in contained in the string in A1?

View 2 Replies View Related

Similar But Not Duplicate Rows

Jan 29, 2014

I want to delete rows that are a subset of any other row. Not manually, as there are thousands of rows. For example, in the attached file, row 4 is a subset of row 5 (also row 12 of row 13, row 14 of row 15, and both rows 21 and 22 of row 23).

View 2 Replies View Related

How To Merge Similar Data

Jan 23, 2013

I have a large spreadsheet where some data are similar. for Example

Robert $1000
Louis $600
Glen $350
Doreen $2300
Robert $500
Louis $600
Glen $750
Doreen $300
Robert $3000

I want to merge all Robert together, all Louis together and show as one Robert $4500. How can I do that ? Should I use a Look up.

View 11 Replies View Related

Merge Similar Codes Into One

Jun 8, 2009

I have the following seven codes used to fill a ListBox with data retrieved form a range (DACNRange).. they are almost the same .. the only difference between them is the range column number (highlighted with red). Instead of these seven similar codes, Can we create a general code replaces them all?

View 2 Replies View Related

Function Similar To LEFT / MID / RIGHT

Dec 8, 2008

I need to return the text from a string, in a similar way to they way LEFT/ RIGHT would do.

I have some text in a cell, say A1 that looks like this ->

TEXT BEGIN --- TEXT NOW ENDS

I want to return everything before / after the --- symbols.

View 4 Replies View Related

How To Combine Cells With Similar Value

Jan 11, 2012

How to combine cells with a similar value inside them into a single cell. Here is what my data looks like.

10'X14'{&}SNM8981-1014{&}16
2'6"X10'{&}SNM8981-2610{&}9
4'X6'{&}SNM8981-46{&}6

[Code]....

For example, I need to have every cell with SNM9012 to combine into the same cell. If I could figure this out it would save me hours vs pasting the similar lines into textmate and removing the enters.

View 1 Replies View Related

Sumif With Condition Similar?

Oct 22, 2013

When you filter a spreadsheet, you can find results that are similar to a condition. I have families of products that share a common 3 digits, but the rest of the model number is different. The 3 similar digits could be the first 3 digits, or it could be 3 digits starting with the 2nd digit. This spreadsheet has each complete model number on its own row. In that row is a number that represents a volume. I want to be able to sum the volume column if the model number contains the 3 digits.Model Number
Volume

A hat
5

B hat
1

A glove
4

hat
8

In the above example, the total for "hat" = 5 + 1 + 8 = 14

I would type in a condition (family name) into another cell (D1) and the formula in D2.

View 8 Replies View Related

Retrieve Similar Value From Another Sheet?

Nov 28, 2013

I have an excel grid which have 2 sheets, sheet2 have all the data, I am doing a macro which based on a value that I put in sheet1 is supposed to find Items which have similar value +/-3 from sheet1. I made a code which I posted below, I don't have any error message but it doesn't work as it should. I explain you with an example: If in the data grid I have the following values

11.8
67.0
25.5
18.1
13.0

if the value I look for is 12 +/-3, it doesn't find anything.
if the value I look for is 11 +/-3, it finds 11.8 but not 13,
if the value I look for is 20 +/-3, it finds 18.1,
if the value I look for is 23 +/-3, it finds 25.5,

Here is my code:

Sheet1.Cells(1, 3).Select
Dim Amin As String, Amax As String ', Bmin As String, Bmax As String
Amin = Sheet1.Cells(3, 2).Value - 3

[Code].....

View 2 Replies View Related

Using Find For Similar Searches

Mar 6, 2014

Problem is Findstring finds cells that contain "SS1" AND "SS1 EXT". These are separate grades.

I need Findstring to only find SS1. Using xlWhole doesn't work for me, as the cells also contain other data. For example: " SS1 48 /"

CODE:

FindString = "SS1"
Findstring1 = "SS1 EXT"

With Sheets("Sheet1").Range(Rng4)
Set Rng = .Find(What:=FindString, _
After:=.Cells(.Cells.Count), _

[Code] ........

View 1 Replies View Related

FIND From Right To Left Or Similar?

May 2, 2014

Cell A1 = 78-36

This is a win/loss ratio so to have it as a percentage I would have to divide the first number by the sum of the two numbers so 78/114 = 68.4% How would you do this with a formula?

I came up with this that isn't quite right, because RIGHT and FIND don't work together.

=LEFT(A1,FIND("-",A1,1)-1)/(LEFT(A1,FIND("-",A1,1)-1)+RIGHT(A1,FIND("-",A1,1)-1))
There must be a smarter way of doing this. TY

View 8 Replies View Related

Workday Function Or Similar

Jan 3, 2007

This is probably a simple question, but one I can't figure out after several hours. I am creating a spreadsheet focused on certifications.

I need to take the date each initial certification was achieved, and add x years to each cert, which is simple enough.

The sticky part is that the (date + x years) can't logically be a weekend; if it is, I need to subtract one or two days from the result, so that it's the *weekday* immediately prior.

e.g. if my initial certification date is: 1/23/2006 and my certifcation expires in four 4 years:

A47= date(2006,1,23)
h47= 10

=DATE(YEAR(A47)+H47,MONTH(A47),DAY(A47))

Result = Saturday, January 23, 2010

If the result is a Saturday or Sunday, I need to subtract one or two days from the date. In this example, I'd like: Friday, January 22, 2010 as the result.

I've been playing with 'if', et. al., to no avail.

View 9 Replies View Related

Control Similar To The Properties One In The VBE

Feb 28, 2007

I am after a control similar to the Properties one in the VBE. The one where you modify properties for a control in design mode.

Does anybody know of a suitable Control that I can use in my project that has similar usage?

View 9 Replies View Related

Using Borders Where Data Is Similar

Apr 17, 2007

I have a spreadsheet that has descrptions in column D. Where the descriptions are the same ,

I need the VBA code that will do the following:

1) Sort the data by columns C (descending), G (ascending) & E (ascending)

2) Putting a border around all the data where the decriptions are the same
i.e from column A to Column I beginning from row 2

I have attached a sample file for ease of reference....

View 9 Replies View Related

UCASE, LEFT$ And Similar

Sep 16, 2008

I use these and related functions (Format, Right$ etc) in my VBA code. Works perfectly on my machine, butwhen a colleague opens the sheet I get repeated compile errors - "Can't find project or library". I have checked all the references and tey are all there, so much scratching of head.

View 9 Replies View Related







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