Multiply If Column Contains Certain Text?

Aug 8, 2014

I have column A that declares the account as asset, liability, expense, etc. Some of the accounts need to be reversed. I'm having a hard time figuring out a formula or code I can use. Column C contains the values. I prefer VBA as I want to add it to the current macro I already have.

So if Column A has a liability, offset by (0,2), and multiply that value by -1. If Column A has an asset, leave the value as is.

I wanted to use an if-then statement but I'm not sure how to highlight entire columns. The number of liabilities, and assets, etc.

View 7 Replies


ADVERTISEMENT

Multiply Every Nth Cell By Another Column Whith Merged Cells, THEN Find Column Total

Aug 6, 2009

Please see the attached sheet. I have columns B through a lot (B through O in my oversimplified example). In every 7th row in each of these columns there is either a 1 or a blank/zero. I need to multiply that 7th number by the Quantity in column A, to achieve a total (ie the sum of each result of 7th cell*quantity) for each column in the bottom row, labeled "Totals".

In the actual version of my sheet, there are far too many rows to select everything manually. I've been fiddling with combinations of COUNTIF/COUNTA and OFFSET, but I haven't come up with a way to check for the 1 in every 7th row, THEN multiply that 1 by the quantity in column A, THEN add up the results for each column. As you can see, there are 1's elsewhere in the columns that are irrelevant to this particular calculation, so something like LOOKUP would also have to look in every 7th cell and couldn't just look at the column as a whole.

If you can't provide an immediate solution, but can at least point me to a resource that would allow me to devise a way to isolate every 7th row (THAT part is the sticking point), I'll surely post the solution to my own thread with updated keywords if I need it.

View 8 Replies View Related

Excel 2000 - If A1 Equal Or Less Than 1000 Multiply By B1 Otherwise Multiply By C1

Oct 30, 2013

Excel (2000), what formula would I use to accomplish the following?

If A1 equal or less than 1000 value, multiply by B1, otherwise multiply by C1.

View 9 Replies View Related

Using Percentage In Text To Multiply By A Value

Aug 21, 2012

I have the following text in B5 "deposit fee 0.75%". I have a value of 3500 in B2. I would like a formula where a can multiply the value in B2 x the 0.75% that is contained in the text "deposit fee 0.75%"

I tried to use =B2*VALUE(MID(B5,17,1)), but it gives me #value

View 4 Replies View Related

How To Convert Text Into Values And Then Multiply

Sep 18, 2013

I have 2 columns - one that has numbers and the second that has text such as A, B, C, D,and E. I need to be able to convert the text into values such as 1,2,3,4,and 5 and then multiply with the first column that has value and display the resultant.

View 8 Replies View Related

Multiply Column - Final Formula For This Spreadsheet?

Jul 30, 2014

I am having trouble with the final formula for this spreadsheet.

I want to be able to select "Holiday/Sunday" from the drop down men in column H, and have it multiply the total in column F by 2. There is already a formula in column F that sums column E-D.

View 4 Replies View Related

Multiply 2 Values Based Upon Corresponding Column Cells

Oct 15, 2009

I'm absolutely new to Excel and I've been trying to workout a formula to to test two conditions if true and derive the data from a 3rd column. In my attached excel file there's a Grade (A) , Status (B) and Mid Point (C) Tables. I'd like it to be formulated in a sense that forexample:

IF Grade= 1 AND Status= Q4 RETURN =3750*0.25
IF Grade= 1 AND Status= Q3 RETURN =3750*0.5
IF Grade= 1 AND Status= Q3 RETURN =3750*0.75
IF Grade= 1 AND Status= whatever (I mean whatever I input in this cell then it would retrun 3750 ofcourse satisfying the condition grade= 1) RETURN =3750

IF Grade= 2 AND Status= Q4 RETURN =5500*0.25
IF Grade= 2 AND Status= Q3 RETURN =5500*0.5
IF Grade= 2 AND Status= Q2 RETURN =5500*0.75
IF Grade= 2 AND Status= whatever (I mean whatever I input in this cell then it would retrun 5500 ofcourse satisfying the condition grade= 2) RETURN =5500
................

View 7 Replies View Related

Multiply Column Of Numbers By Fixed Number

Mar 1, 2008

I did a search myself, then went through the 5 pages the "Post" function brought up. I'm sure it's been asked before, I must just not be using the right words

I need to tell every cell in one column to multiply itself by a firm number and a percentage. Ex: Column F will be the result of $77.80 times 75 percent all the way down the column. Column G will be $27.21 times 100 percent all the way down.

I could enter the formula into every cell, but I wondered if there's a way to just tell the whole column, only once, what it needs to do. PS-I work for an insurance company. The employees of a company want a spreadsheet showing exactly who pays exactly what. Ex: Their paystub shows $142.90 coming out of their paycheck. Their employer pays 100% of medical, 75% of dental. The columns would show Total, Employer Medical, Employer Dental, Employee Medical, Employee Dental.

View 2 Replies View Related

Multiply A Column And Result Appear In Next Column

Aug 31, 2010

How do you multiply a column and have the results reappear in the nextcolumn? E3:E3631*1.3 = F3:F3631, is the code I tried.

View 3 Replies View Related

Excel 2010 :: Multiply Text String By Number Resulting In List?

Feb 6, 2013

Using Excel 2010...

I have a list of names (text string) in a column (A) that have associated whole numbers in another column (B). What I would like to do is create a formula that multiplies the text string in cell A2 (for ex.) by the whole number in B2 and return a "list" of the text string in A2 equal to the whole number by which it is multiplied.

Here's a visual example of the results I want to achieve:

Using the above example, I would like to end up with a list in column D with 159 total rows with the text contents corresponding to the whole number in column B.

View 6 Replies View Related

Multiply Column Of Values By A Random Number Within Range?

Apr 20, 2012

I have a column of values I need to multiply by a random number (percentage) within a range of numbers (15%-22%).

How can this be done?

View 1 Replies View Related

Multiply Two Column Vectors Based On Reference Cells

Feb 9, 2013

How do you multiply two column vectors D2:D6 and G2:G6 based on reference cells A3 and B3 that are equal to D1 and G1?

A
B
C
D
E
F
G

1
2
3
4
5

[Code] ......

View 1 Replies View Related

Multiply Cell In Column A If Cell In Column B Is Equal To 5?

Mar 25, 2014

How can I multiply let's say A1 to 10 if B1 = 5

or multiply next cell like A2 to 15 if B2 = 10

View 3 Replies View Related

That Takes From Manual Sheet The Number In Specific Column And Multiply It By The Percentage In Sheet

May 29, 2009

I'm trying to create a formula that takes from "Manual" Sheet the number from colume G2 and multiply it by the percentage in sheet "AllocationRule".

My formula currently is =Manual!$G$2*AllocationRule!$B5.

What needs to happen is that the total number in "Manual" needs to be distributed evenly in 4 rows by the percentages allocated in "AllocationRule".

Right now I can't copy my formula over to the sheet because the "AllocationRule" should stop at B5 and not go further and the G2 from "Manual" should not change for the percentage allocation but should change to the next row for the next month.

And then after I've done the calculation I want the LOB in "AllocationRule" to be displayed in the LOB in "H1913_H1914" but I'm not sure what formula to use.

View 7 Replies View Related

Multiply Using VBA ...

Feb 7, 2009

How can I multiply a range with a value and put the value in another range, using VBA ?

I have in some cases 2000 -3000 rows and I need to automate the process.

Please open attached file!

View 6 Replies View Related

Multiply Via VBA

May 22, 2008

I have a table with data which I have entered with VBA, now the only thing missing is multiply column D with column E.

When the data gets put into the table I like the data in column E to be multiplied with the date from column D.

View 9 Replies View Related

Multiply According To SUM Value

Aug 10, 2006

I am having trouble creating a formaula to calculate value based on the sum of a cell. For example if the sum of cell A1 is <= 149 I need to multiply the sum by 1.0
if the sum of cell A1 is 150-199 I need to multiply the sum by 1.50, if the sum of cell A1 is 200-249 I need to multiply the sum by 1.75, and if the sum of A1 is >= to 250 I need to multiply the sum by 2.00

View 3 Replies View Related

Multiply The Diference By 20%

May 18, 2009

b25
if the amount in b7 is the same or less than 7495 i need it to be multiplied by 10%

b26
if the amount in b7 is greater than 7495 then i need it to multiply the diference by 20%

View 14 Replies View Related

Automatically Multiply A Value

Mar 12, 2009

I want to be able to enter a value into a cell (within a specified range if necessary) and have it automatically multiply by a set value and overwrite the original entry with the result so making it all happen within one cell.

View 9 Replies View Related

Multiply Range X 1

Jun 9, 2006

After ripping a .pdf report into Excel I am left with a variety of items in Column A, numbers as text, text, and blanks. I manually selected entire column and paste special multiply. Seems to have convereted blanks to zero, converted numbers stores as text to numbers, and ignored any text. Problem is writing macro to repeat the steps as will use the tool every period. I tried looping through the range

For Each C In myRange
C.Value = C.Value * 1
Next C

But this returns type mismatch error. So why did it work manually if won't work through the macro?

View 2 Replies View Related

Multiply Selection

Nov 11, 2006

I need the code for a macro that, with a selection, it multiplies the cell number by “x” amount, keeping the original cell format. I know I can do that using paste special but I prefer a macro to be able to use it on different spreadsheets.

View 9 Replies View Related

Multiply Then Subtract Value

Nov 27, 2006

I have 3 columns. A B and C. In column C I want to input the answer to a formula into each cell using data from cells in their respective rows,

For. e.g.

Cx= Ax- (Bx X 0.8).

I want to be able to input this formula somewhere that will automatically fill out the cells in column C.

Column C is 20 cells long so x would range from 1 to 20.

View 5 Replies View Related

Sum Array & Multiply

Mar 2, 2008

I'm having difficulty in summing multiple rows (order volume) over many columns (despatched volume) that have a specific constant (price for the week).

Please see spreadsheet attached. I would like row 19 to be achieved as one line, thus removing rows 14-18. see logic in rows 14-18 which drives the row 19 result.

The problem is the volume is over 52 row and the price is over 1 row. Cannot think straight as to how to build the array. No VBA as the result needs to be transparent from a formula.


I'm having difficulty in summing multiple rows (order volume) over many columns (despatched volume) that have a specific constant (price for the week).

see spreadsheet attached. I would like row 19 to be achieved as one line, thus removing rows 14-18. Please see logic in rows 14-18 which drives the row 19 result.

The problem is the volume is over 52 row and the price is over 1 row. Cannot think straight as to how to build the array. No VBA please as the result needs to be transparent from a formula.

View 9 Replies View Related

Add & Subtract Time, Then Multiply By $

Feb 8, 2009

I have a cell that is "Start Time." Another is "End Time." And, of course, "Total."
The sum listed in "Total" is multiplied by a cost per hour. Except it does not work. I have attached an example copied directly from the cost sheet.

View 3 Replies View Related

User Input To Multiply

Apr 15, 2009

In my macro, I'm trying to use an input box to determine the factor to multiply another cell by. I also want to only allow entry of 6.0 or less, and only allow, (but not require), a single decimal place. Here's what I've got so far, but it's not working:

View 2 Replies View Related

Formatting UserForm - Multiply

Jun 16, 2009

On my Userform i have 2 textboxes. Textbox2 needs to look at textbox1 and if the value in textbox1 is equal to or greater than 25000, then multiply that value in textbox1 by 0.0035 and place the value in textbox2.

View 4 Replies View Related

Multiply And Round In One Equation

Mar 1, 2007

I need to take a number, multiply it by a precentage, & then round it to the nearest multiple of 5.

ex:
A1=142.5
B2=A1*50%,(then rounded to nearest multiple of 5)

View 9 Replies View Related

OR Function: Multiply The Cell

Oct 24, 2009

I have a row where C5 is the total of C1:C4. What I am trying to do is if C1 or C2 or C3 or C4 has a number value that I can multiply the cell in question by 2 and then add up all of the cells to give a total in C5. Also, I have a name in A1, but when I select E1 and enter =A1 into the cell then return, I get A1 in the cell instead of the name in A1.

View 5 Replies View Related

VBA Multiply Only If Cell Is Not Blank?

Jul 14, 2014

I need a VBA macro to multiply column E and F and deposit the result in column G. The multiplication should only happen when there is a value in the column E. If there is no value in the column E, then the cell in the G column should stay blank.

View 9 Replies View Related

Multiply The Value Of Sheet1 And Sheet 2

Dec 9, 2009

I have 3 sheet.

i need to multiply the value sheet 1 and sheet 2.

Sheet1  AB1NameAmount2Kumar1003Siva2004Sasi3005kannan400 Excel tables to the web >> Excel Jeanie HTML 4

Sheet2  ABC1Name MonthComments2kannan5good customer3Kumar10average customer4Siva20ok5Sasi25not bad Excel tables to the web >> Excel Jeanie HTML 4

The answer should be like this

Sheet3  ABC1NameAmountComments2Kumar1000average customer3Siva4000ok4Sasi7500not bad5kannan2000good customer Excel tables to the web >> Excel Jeanie HTML 4

View 9 Replies View Related







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