# Multiply Every Integer Less Than The Number In Cell A1 And Greater Than Zero By The Number Cell In A2..

Feb 5, 2009
Cell A1 = 3

Cell A2 = 4

Is there a formula to calculate

(3*4)+(2*4)+(1*4)

I need to multiply every integer less than the number in cell A1 and greater than zero by the number cell in A2. I was thinking factorial, but that's not it... Can't remember from my math days.

View 3 Replies
ADVERTISEMENT
Sep 11, 2007

I have a spreadsheet that I need a formula so that when a number appears in one column, then automatically it will put text (only) in the adjacent column. I have attached the sample spreadsheet for review. What I need is if there is a number in column A then, put a " / " (forward slash) in column B. If there is only a 0.00 in column A, then put nothing in column B. I tried the IF function an it errored out stating that the " / " was not a number.

View 5 Replies
View Related
Jul 21, 2007

I am building a Workbook which takes data from SheetA and inserts it into SheetB.

Part of the data is only entered when a positive value exists.

I then do an export from SheetB.

The problem is that I need to get the column number and pass it to the cell reference based on the field name in row 1.

Dim sFindstring As String

Dim rFindcell As range

Dim iR As Integer

Dim iC As Integer

sFindString = " Find this string in the cell"

'Using cells find the findstring

Set rFindCell = Cells.Find(What:=sFindString, After:=[A1], LookIn:=xlValues, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlPrevious)

'OK so look here

iR = 3

'I am trying to pick up the column number

iC = rFindCell.Column

rFindCell throws an object or with block variable not set error. Is there some property that I need to set.

View 3 Replies
View Related
Feb 11, 2010

How can i format a column of cells so that if a number is less than 10 for eg that that particular cell is then multiplied by 1000.

View 9 Replies
View Related
Mar 10, 2014

I have a lot of cells containing numbers. Some numbers are small, some are big.

I want to divide all numbers which are greater than 300 by 1000.

IF cell A2 > 300 THEN divide by 1000.

How to do that? Is it possible to convert value in the same cell like using conditional formatting principle?

View 7 Replies
View Related
Jan 14, 2010

=IF(OR(A1>0,A2>0,A3>0),*2,"")

if A1,A2orA3 is greater than 0 then multpy by 2 or leave the cell blank

View 9 Replies
View Related
Sep 14, 2009

I have students Kg-5th Gr. I need to identify the ones over-aged when I enter the information. The following is what I'm trying to use but I get Y1 for ever cell. I need it to Identify the student as Y1 for One year overage and Y2 for tow years overage.

View 3 Replies
View Related
Mar 17, 2009

Hi, sorry for posting this twice but i wasn't sure which category it fell under!

I have a slight problem with excel and and was wondering if anyone can help.

I have 3 columns, A, B, C: .....

View 14 Replies
View Related
May 4, 2009

I am using cell V7 to input the formula but I want cell V7 to tell me if the number in U7 is greater than or equal to the individual #'s in cells U7-U40 and I would like it to put a 1,2,3 in the cells of V7-V40 for the three highest numbers in order of largest to smallest if is this possible?

View 3 Replies
View Related
Jul 25, 2013

I am doing a spread sheet for to enter the times that i do in a rally.

So if i post a time of 00:49.3 and the target time is 03:54.3 i want the cell to turn red, or if the set time is less then the target time it should be green.

How can i do this in excel

View 5 Replies
View Related
Aug 13, 2013

SAMPLE FILE "error_finder.xlsx (36.5 KB)" attached...

The VP of our company needs me to create a spreadsheet.

For this s/s I need the following:

Imagine 2 sheets in Excel...

sheet1

sheet2

sheet2 has sequential numbers in column1 starting in row2 with the number 1 until wherever..., so cell A2 has number 1, cell A3 has number 2, etc...

Manually, a user has to fill in certain text next to a number.

This for example would look something like this:

_|A| B

-|-|-----------------------------------|

1| | Error-description

-|-|-----------------------------------|

2|1| Whatever the 1st error would be...|

-|-|-----------------------------------|

3|2| Whatever the 2nd error would be...|

-|-|-----------------------------------|

4|3| Whatever the 3rd error would be...|

-|-|-----------------------------------|

5|4|

-|-|-----------------------------------|

6|5|

-|-|-----------------------------------|

and so on...

All this would be on sheet2

In a cell on sheet1 I now need the number from column A displayed, that has the latest entry in column B.

In the example above this would have to be the number 3 in cell A4, because right next to it (in cell B4) is the last entry "Whatever the third error would be..."

Addition: There are several sheets, each sheet stands for one error listed on sheet1 in column A

sheet1 for example would look like this:

_|____A____|_B_|_C_|_D_|

-|---------|---|---|---|

1|_________|833|933|934|

-|---------|---|---|---|

2| error 1 |___|___|___|

-|---------|---|---|---|

3| error 2 |___|___|___|

-|---------|---|---|---|

4| error 3 |___|___| 3 |

-|---------|---|---|---|

In this example, because "whatever error" (cell B2 to B4 on sheet2) was found on press 934 was the 3rd error (cell A4), the number 3 (cell A4) would have to be populated on sheet1 in cell D4.

View 9 Replies
View Related
Feb 14, 2014

[Code] ......

How to create a formula in cell M2 that looks at the second row of numbers (0 and 500s) and tells me the rightmost value that is greater than zero. In this example it would return 12.

Second Question: Is there a way to return any counted value, for example the second-to-last number that is over 0?

View 2 Replies
View Related
Jun 24, 2014

I have a spreadsheet with rows of data. I need a formula that will return the column number of the last column in a row where there is a value >0.

Let's say that cells A1:F1 contain values. Some have values of 0 while others have values >0. I need a formula in cell G1 that will tell me the column number of the last value >0.

A B C D E F

0 2 5 0 6 0

So the formula in G1 would return a value of 5, which corresponds to column E.

View 3 Replies
View Related
Jul 18, 2013

I have numbers in b2 to b5 say

10

22

35

50

I have numbers in c2 to c5 say

1000

1580

3000

45000

I have numbers in cells d1 to kq1 (1 to 300) d1=1, e1=2, f1=3 and so on

What I want to do is:

In D2 through to kq2 it puts the number in to the cell that correspnds to a multiple of the number in b2.

That would put 1000 in cells m2,w2,ag2,aq2, ba2 and so on

In D3 through to kg3 it it puts the number in to the cell that corresponds to a multiple of the number in b3

that would put 1580 in cells y3,au3,bq3,cm3,di3 and so on

View 2 Replies
View Related
May 8, 2014

I have M106 = 4

I need a simple formula to convert that into column Alphabet + 1

So 4 will be Column E (A,B,C,D and 4th will be D+1= E)

View 3 Replies
View Related
Mar 11, 2007

I have a user form and to input the hourly wage i need to convert the text entry to a number whose type is LONG and not integer.

Does anyone know how to do this?

Or is there a way to input a number in a userform without a text box entry?

View 9 Replies
View Related
Feb 3, 2007

I would like to round this number (3.5) to become 4, but by using this formula =CEILING(A1,0.5) the result will be 3.5

i need a formula that turns 3.5 to 4

when i use this formula =ROUND(A2,0.5), 3.5 becomes 4, but 3.2 becomes 3 not 3.5

i.e. a formula turns 3.2 to 3.5 and 3.5 to 4

View 6 Replies
View Related
Apr 26, 2007

Is there any way to get a custom number format to display a multiple of the cell value? e.g. can I have a cell have the value 0.005 and display the value 50?

View 6 Replies
View Related
Jun 1, 2008

I am wanting to take a number (any number) and multiply it by per minute using real time. For example: Say I have 12 apples. I want that 12 apples to multiply per hour.

12x(per 60 minutes)= total

The total will change every hour because the formula will be using real time. I can write the formula for 12x60 but to enter the time, based on real time I just don't know or even if it can be done.

View 2 Replies
View Related
Feb 2, 2012

I am doing a huge price increase for a price book and need to rasie each price by 3% and have it rounded to the nearest dime.

Is there a formula to do this in one go and not have one cell with the rounded price and another for the nearest dime price.

View 2 Replies
View Related
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
Mar 8, 2012

Trying to have a formula assign a number to a cell depending on a number in that cell.

Example

In all cells in a range from C8 to G13, if there is a 1, i want the number in C20 to show, if there is a 2, whats in

D20, 3/E20, 4/F20, 5/G20, 6/H20

View 3 Replies
View Related
Apr 27, 2014

I'm making a Excel 2013 spreadsheet that has formula in a column that auto enters a number 1-40 when something is entered to the left of that cell. There are 300 rows in the spreadsheet. I would like to make a drop down list in a column cell to the right that would delete that number in that cell from the drop down list. For example cell C1 has 39, that 39 then is deleted from the drop down list. C2 has 22 in it, click on the drop down list cell and it shows 1-40 less 39 and 22.

View 11 Replies
View Related
Mar 14, 2009

I want to multiply a number say, 1551 by 5%, 6%, 7%, 8% and 9% and round each result to 0 decimal places. Then the sum of these results (544)should be equal to 35% of 1551 rounded to 0 decimal places (543). How do I create an if function for rounding so that the sum equals 543.

View 6 Replies
View Related
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
Jun 14, 2013

Looking for a way to search an active cell (that has been found using macro) for numerical data and if there is some present paste this in a different location

If there is no numerical data in this this cell then paste a 0 in a different location

An example of the string contained in the cell

Product 7.5% wheat <- i would want 7.5 (or 7.5%) copied to a different cell

or

Product X <- i would want a 0 copied to the cell the 7.5 would be in from the above

I can find the cell to search in, i just do not know the correct way to extract the information I need.

View 9 Replies
View Related
Jan 28, 2009

I have Sheet with 40 employees who each proposes their work schedule, so I have to give each Employee access to the same sheet and want highlight and unlock only those cells that specific employee can use.

Each employee has to login from a drop-down (sourced from Sheet.Employee Master), so their unique Employee Number is in "A13" of Sheet.LOGIN

Can I identify the ROW number and then use that ROW number in a macro to highlight and unlock specific Range of Cells in Sheet.PROPOSED SCHEDULE?

---where "Sheet.LOGIN("A13") = (the value in the cell Col A:"row" of Sheet.PROPOSED SCHEDULE)

I have attached a scaled down version of the Workbook.

Following code is scaled down-- this is for Employee 02 who appears on ROW 16 of the sheet. (macro is same for each employee, just uses a different row)

View 7 Replies
View Related
Jan 19, 2008

Create some sort of formula combination or macro that will: Recognise a cell with a value of 1, 2 or 3 in. If 3 is in the cell, the cell to its left will be counted and added to a total. If the cell that has 3 in changes the value is removed from the total. Ive tried lots of methods but i cant figure this one out!

View 6 Replies
View Related
Dec 10, 2008

can I set a cell in excel so that if a number in a different cell is above a certain number it will turn green and another cell to turn red. I have attached the file.

View 4 Replies
View Related
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