## Divide Cell Amounts Between Cells Equally |

## Divide Cell Amounts Between Cells Equally - Excel |
View Answers |

Hi, I have a chart of numbers and i need the difference inbetween 2 cells (shown here on the left and right) to be divided up equally between the amount of cells inbetween the cells. The amount of cells in the centre here is two but the amount will vary.

Please see below where i have manually worked one out to give you an example.

13.78 14.62 15.46 16.30

15.24 ------------------ 21.17

22.74 ------------------ 29.09

26.84 ------------------ 35.42

32.10 ------------------ 40.71

37.02 ------------------ 49.84

44.60 ------------------ 57.58

49.58 ------------------ 62.05

Thanks

Please see below where i have manually worked one out to give you an example.

13.78 14.62 15.46 16.30

15.24 ------------------ 21.17

22.74 ------------------ 29.09

26.84 ------------------ 35.42

32.10 ------------------ 40.71

37.02 ------------------ 49.84

44.60 ------------------ 57.58

49.58 ------------------ 62.05

Thanks

## Free Excel Help Forum

**- Ask any question about Excel and have it answered in no time.**

## Similar Excel Tutorials

MOD Function in Excel

The MOD function is very simple but it can be used to do wonderful things in Excel. It returns the remainder after ...

The MOD function is very simple but it can be used to do wonderful things in Excel. It returns the remainder after ...

PMT Function - Get the Payment Due for a Loan in Excel

How to calculate the payment amount for a loan or similar financial instrument that has a series of constant paymen ...

How to calculate the payment amount for a loan or similar financial instrument that has a series of constant paymen ...

NPER Function - Calculate Number of Periods Needed for a Set of Payments in Excel

How to calculate the number of periods required for an investment in order to get the desired return. The number o ...

How to calculate the number of periods required for an investment in order to get the desired return. The number o ...

Error Values in Excel - Full Explanation

Here, I'll teach you what the errors in Excel mean. There are many errors that you can get and each one means som ...

Here, I'll teach you what the errors in Excel mean. There are many errors that you can get and each one means som ...

## Helpful Excel Macros

Convert Numeric Dollar Values into Text in Excel - UDF

- Convert a numeric dollar amount into its text equivalent. This UDF (user defined function) for Excel will change or tra

- Convert a numeric dollar amount into its text equivalent. This UDF (user defined function) for Excel will change or tra

Close a Workbook after a Time Limit is Reached

- This macro will automatically close the workbook in which it is located after that workbook has been opened for a certai

- This macro will automatically close the workbook in which it is located after that workbook has been opened for a certai

Delete Only the Text from Cells

- This macro will delete all text from selected cells. This will not delete any other characters or numbers from any cell

- This macro will delete all text from selected cells. This will not delete any other characters or numbers from any cell

Format Cells as Text in Excel

- This free Excel macro formats a selection of cells as Text in Excel. This macro applies the Text number format to cells

- This free Excel macro formats a selection of cells as Text in Excel. This macro applies the Text number format to cells

Automatically Run a Macro so Many Seconds, Minutes, or Hours After an Excel Workbook has been Opened

- Run a macro after a certain amount of time has passed since the Excel workbook was opened. This means that you can set

- Run a macro after a certain amount of time has passed since the Excel workbook was opened. This means that you can set

## Similar Topics

On my calculator, if I divide 462,534.05 by 335 I get 1,380.70. Then if I times 1,380.70 by 335 I get 462,534.50. Which is what I need it to be because I need to calculate the difference of a figure not dividing equally.

On excel, if I divide 462,534.05 by 335 I get 1,380.70. Then if I times 1,380.70 by 335 I get the SAME result of 462,534.05.

I have to account for the difference of not dividing equally so there is some format or accounting function that's preset that I don't want but I have no idea how to fix it or format my excel sheet to calculate as my calculator would.

Please can someone help? Thanks!

On excel, if I divide 462,534.05 by 335 I get 1,380.70. Then if I times 1,380.70 by 335 I get the SAME result of 462,534.05.

I have to account for the difference of not dividing equally so there is some format or accounting function that's preset that I don't want but I have no idea how to fix it or format my excel sheet to calculate as my calculator would.

Please can someone help? Thanks!

Hello gurus!

Here's my question...I have a list of numbers and I want to know how many combinations (and what they are) of adding the numbers will equal an amount.

e.g.

List of Numbers

1

2

3

4

5

6

7

8

9

10

Amount to be reached = 12

These are some of the possible combinations to reach 12 :

2+10

3+9

4+8

5+7

3+4+5

6+3+2+1

Is there a function in Excel that will do this for me? I want to know which numbers (i.e. cells) can be added to reach 12. AND, if possible, colorcode the cells added for each combination.

Good luck and thanks!!

Here's my question...I have a list of numbers and I want to know how many combinations (and what they are) of adding the numbers will equal an amount.

e.g.

List of Numbers

1

2

3

4

5

6

7

8

9

10

Amount to be reached = 12

These are some of the possible combinations to reach 12 :

2+10

3+9

4+8

5+7

3+4+5

6+3+2+1

Is there a function in Excel that will do this for me? I want to know which numbers (i.e. cells) can be added to reach 12. AND, if possible, colorcode the cells added for each combination.

Good luck and thanks!!

First time in this forum. Hi all. I have a challenging question, is there a way either by VBA or manually (preferably both, if possible) to actually unite the X amount of numbers that are in a cell given the contents is alphanumeric? I'll give you the following examples to see if you can understand what I' referring to?

DATA output should be

asd67,h876 --------> 67876

2,3,ujdj5&34 -------> 23534

909k86m34 --------> 9098634

Hope this makes sense?

DATA output should be

asd67,h876 --------> 67876

2,3,ujdj5&34 -------> 23534

909k86m34 --------> 9098634

Hope this makes sense?

In Excel there is a difference between cells that are blank (= "") and that are empty. You can make blank cells empty by selecting them and pressing the delete key, but I need a fast way to do this on all blank cells in a large worksheet. The only way I have found is with a VBA macro that loops through every cell, tests for '.Value = "" ' and then uses the '.Clear()' function, but doing this on 30 columns x 10000 rows is far too slow. Any solutions?

(The reason I need to do this is for importing into Access, the database treats empty cells as NULL which is what I want. Blank (but not empty) cells screw the import process up.)

(The reason I need to do this is for importing into Access, the database treats empty cells as NULL which is what I want. Blank (but not empty) cells screw the import process up.)

Hi,

I have the following code to put data from a VBA userform into Excel

Dim Sh As Worksheet

Dim Rng As Range

Set Sh = ActiveSheet

Set Rng = Sh.Range("A65536").End(xlUp).Offset(1, 0)

With Rng

.Cells(1, 1) = Surname.Text

.Cells(1, 2) = forename.Text

.Cells(1, 3) = datein.Text

.Cells(1, 4) = origin.Text

.Cells(1, 5) = Addressee.Value

.Cells(1, 6) = usual.Value

.Cells(1, 7) = dateto.Text

.Cells(1, 8) = permission.Value

.Cells(1, 9) = dateseen.Text

.Cells(1, 10) = requestview.Value

.Cells(1, 11) = Invoice.Value

.Cells(1, 12) = notes.Text

.Cells(1, 13) = datecompleted.Text

.Cells(1, 14) = holdsend.Value

.Cells(1, 15) = fee.Text

.Cells(1, 16) = notes2.Text

.Cells(1, 17) = dateseen.Text

.Cells(1, 18) = invoicesent.Text

.Cells(1, 19) = Paid.Text

.Cells(1, 20) = Complete.Value

End With

What I want to do next is click on the surname on the speadsheet and call up the userform with the fields complete for that person. I would also like to be able to edit/update the form and update the information on the speadsheet accordingly.

Any help would be greatly appreciated!

Many thanks!

I have the following code to put data from a VBA userform into Excel

Dim Sh As Worksheet

Dim Rng As Range

Set Sh = ActiveSheet

Set Rng = Sh.Range("A65536").End(xlUp).Offset(1, 0)

With Rng

.Cells(1, 1) = Surname.Text

.Cells(1, 2) = forename.Text

.Cells(1, 3) = datein.Text

.Cells(1, 4) = origin.Text

.Cells(1, 5) = Addressee.Value

.Cells(1, 6) = usual.Value

.Cells(1, 7) = dateto.Text

.Cells(1, 8) = permission.Value

.Cells(1, 9) = dateseen.Text

.Cells(1, 10) = requestview.Value

.Cells(1, 11) = Invoice.Value

.Cells(1, 12) = notes.Text

.Cells(1, 13) = datecompleted.Text

.Cells(1, 14) = holdsend.Value

.Cells(1, 15) = fee.Text

.Cells(1, 16) = notes2.Text

.Cells(1, 17) = dateseen.Text

.Cells(1, 18) = invoicesent.Text

.Cells(1, 19) = Paid.Text

.Cells(1, 20) = Complete.Value

End With

What I want to do next is click on the surname on the speadsheet and call up the userform with the fields complete for that person. I would also like to be able to edit/update the form and update the information on the speadsheet accordingly.

Any help would be greatly appreciated!

Many thanks!

Hello,

I'm a bit of a newbie with Excel, but...

I have several cells with data that contain both letters and numbers (4H, 8V, 4FH, etc.) What I want to do is remove only the text characters from these cells, and add the remaining number values together among a series of cells with this data type.

If your answer involves using a macro or VB, please provide a link on how to use the formula. I've never used a macro or VB.

Thanks.

I'm a bit of a newbie with Excel, but...

I have several cells with data that contain both letters and numbers (4H, 8V, 4FH, etc.) What I want to do is remove only the text characters from these cells, and add the remaining number values together among a series of cells with this data type.

If your answer involves using a macro or VB, please provide a link on how to use the formula. I've never used a macro or VB.

Thanks.

I know I can put a $ sign for all references in a formula for a cell by pressing F4, but is there a quick way for doing this for multiple cells (e.g. a column) or do I have to go through all the cells individually?

e.g.

=A1

=A2

=A3

to

=$A$1

=$A$2

=$A$3

Thanks

e.g.

=A1

=A2

=A3

to

=$A$1

=$A$2

=$A$3

Thanks

Hello ,

Here is my issue:

I have a list of SKUs in Excel and I need to add one same word to 500 cells that have pre-existing text in the cells. See example below:

1) List of SKU's in cells:

34

35

39

55

2) text that needs to be added IN FRONT of every number:

DF

So the result would be:

DF34

DF35

DF39

etc.

How do I do that in a formula and not manually? I found another similar thread and I understand how to do it from the instructions there but the same text goes on the back and the result is: 34DF but I need it to be like: DF34.

I am using Office 2007 for mac.

Thank you for the help,

Chris

Here is my issue:

I have a list of SKUs in Excel and I need to add one same word to 500 cells that have pre-existing text in the cells. See example below:

1) List of SKU's in cells:

34

35

39

55

2) text that needs to be added IN FRONT of every number:

DF

So the result would be:

DF34

DF35

DF39

etc.

How do I do that in a formula and not manually? I found another similar thread and I understand how to do it from the instructions there but the same text goes on the back and the result is: 34DF but I need it to be like: DF34.

I am using Office 2007 for mac.

Thank you for the help,

Chris

Hi all,

I have several accumulated values from other spreadsheets on my spreadsheet and I'm combining and organizing them on mine. However, the cell alignment isn't working properly as you can see in the picture below.

Now, I can certainly retype these values and align them and they'll align all nice and neat; however, I have a huge Column and retyping that column would take an inordinate amount of time.

I searched earlier on cell alignment and couldn't find anything. Any help is appreciated.

Sincerely,

Bill

I have several accumulated values from other spreadsheets on my spreadsheet and I'm combining and organizing them on mine. However, the cell alignment isn't working properly as you can see in the picture below.

Now, I can certainly retype these values and align them and they'll align all nice and neat; however, I have a huge Column and retyping that column would take an inordinate amount of time.

I searched earlier on cell alignment and couldn't find anything. Any help is appreciated.

Sincerely,

Bill

Hi folks,

Hoping someone can help me quickly as I'm pulling my hair out and have a deadline getting too close.

Been trailing the net and this board but can't work out how to do a simple variance.

How do I work out the difference between two numbers - including negatives.

If the numbers are all positive, it's fine as it's simply a case of A - B = C which is your difference. However, that doesn't work if B is negative.

I need a formula that would give the following:

First Number / Second Number / Difference

1 / 5 / 4

1 / -5 / -6

-1 / 5 / 6

-1 / -5 / -4

-5 / -1 / 4

Hopefully there's a simple function I've been missing.

Thanks in advance, R

Hoping someone can help me quickly as I'm pulling my hair out and have a deadline getting too close.

Been trailing the net and this board but can't work out how to do a simple variance.

How do I work out the difference between two numbers - including negatives.

If the numbers are all positive, it's fine as it's simply a case of A - B = C which is your difference. However, that doesn't work if B is negative.

I need a formula that would give the following:

First Number / Second Number / Difference

1 / 5 / 4

1 / -5 / -6

-1 / 5 / 6

-1 / -5 / -4

-5 / -1 / 4

Hopefully there's a simple function I've been missing.

Thanks in advance, R

Hi guys,

would really appreciate anyones help with this.

I have a column full of text-formatted fractions...

4/5

6/4

3/1

2/5

4/5

etc, etc.....the column is very long!!

I need to convert these to actual fractions...ones I can add to equations, allowing me to multiply and add.

If I highlight the column and goto "format Cells" and change to fraction, the values still stay in the left of the cell.....its only when I manually click on each individual cell, then tick the little green tick, does the cell validate, and the value in the cell moves to the right (and is therefore a proper value).....problem is I have to keep doing this for each individual cell.....and I have 70000+ cells in this column!

Any suggestions on how I could speed this up?

thanks

would really appreciate anyones help with this.

I have a column full of text-formatted fractions...

4/5

6/4

3/1

2/5

4/5

etc, etc.....the column is very long!!

I need to convert these to actual fractions...ones I can add to equations, allowing me to multiply and add.

If I highlight the column and goto "format Cells" and change to fraction, the values still stay in the left of the cell.....its only when I manually click on each individual cell, then tick the little green tick, does the cell validate, and the value in the cell moves to the right (and is therefore a proper value).....problem is I have to keep doing this for each individual cell.....and I have 70000+ cells in this column!

Any suggestions on how I could speed this up?

thanks

is it possible to put two formulasinto one cell?

On the attached timesheet there are columns IN, OUT, IN,OUT

The lunch time is worked out by deducting 'C8 from C9' and this works fine when all 'IN, OUT' cells are filled in but for some reason when just the first two cells are filled in it gives a -12 hour answer.

looking at cell 'C11 ' in the attached worksheet, I currently have the formula

=IF(C13=0,","SUM(C9-C8)) The reason for this is to make it look tidy by having blank cells until a calculation is needed,, My problem is, If someone just comes in for the morning one day for instance 8am to 12 noon then they won't have lunch, but C11 will show -12:00

Can I put another formula into C11 to tell it not to deduct C8 from C9 until a time is put into C9.

The following is the sort of thing (many variations) I have been trying but because I'm hopeless at formulas I'm not having any success

Thanks

=IF(C13=0,","SUM(C9-C8))OR,IF(C9,ISBLANK,"",SUM(C9-C8)

On the attached timesheet there are columns IN, OUT, IN,OUT

The lunch time is worked out by deducting 'C8 from C9' and this works fine when all 'IN, OUT' cells are filled in but for some reason when just the first two cells are filled in it gives a -12 hour answer.

looking at cell 'C11 ' in the attached worksheet, I currently have the formula

=IF(C13=0,","SUM(C9-C8)) The reason for this is to make it look tidy by having blank cells until a calculation is needed,, My problem is, If someone just comes in for the morning one day for instance 8am to 12 noon then they won't have lunch, but C11 will show -12:00

Can I put another formula into C11 to tell it not to deduct C8 from C9 until a time is put into C9.

The following is the sort of thing (many variations) I have been trying but because I'm hopeless at formulas I'm not having any success

Thanks

=IF(C13=0,","SUM(C9-C8))OR,IF(C9,ISBLANK,"",SUM(C9-C8)

Hello -

I am using Excel 2007. In prior versions of excel, when copying data, if I wanted to copy visible cells only, I would select "Go To, Special, Visible Cells Only" and then copy a range a cells. The default was always set to copy everything (including hidden cells), unless I specifically selected copy visible cells only.

In 2007, the default is somehow set to always copy only visible cells. Sometimes, I want to be able to copy all cells including those hidden but cannot seem to figure out how to swith this default option. I looked under Excel Options and did not see an option there.

I don't want to have to unhide and rehide everything each time i copy. I know i could do the hiding and unhiding via VBA but would prefer not to have to.

Thanks for your suggestions.

I am using Excel 2007. In prior versions of excel, when copying data, if I wanted to copy visible cells only, I would select "Go To, Special, Visible Cells Only" and then copy a range a cells. The default was always set to copy everything (including hidden cells), unless I specifically selected copy visible cells only.

In 2007, the default is somehow set to always copy only visible cells. Sometimes, I want to be able to copy all cells including those hidden but cannot seem to figure out how to swith this default option. I looked under Excel Options and did not see an option there.

I don't want to have to unhide and rehide everything each time i copy. I know i could do the hiding and unhiding via VBA but would prefer not to have to.

Thanks for your suggestions.

Corporate edict.

I have a worksheet that is locked and protected now, except for cells in a certain collumn. I have named the cells in that column "MS96A".

If a user enters a date in a cell or range of cells anywhere in the column, the changed cells also need to be locked and protected (Once they enter a date, it is not allowed EVER to be changed again. Corporate requirement! *Shrug*).

What I am looking for is this. If the user selects that cell again, they will get the usual pop-up message, "The cell or chart that you are trying to change is protected..."

I think I am close, but I am getting an "End If without block If" error on the If Clause.

Sub Worksheet_Change(ByVal Target As Excel.Range)

Dim MRange As Range

Set MRange = Range("MS96A")

' If Not Intersect(Target, MRange) Is Nothing Then For Each cell In MRange Sheets("Sheet1").Unprotect Password:="temp"

cell.Interior.ColorIndex = 3

cell.Font.Color = vbBlack

Selection.Locked = True

Selection.FormulaHidden = False

Next cell

ActiveSheet.Protect Password:="temp", _

DrawingObjects:=False, _

Contents:=True, _

Scenarios:=False

ActiveSheet.EnableSelection = xlUnlockedCells

End Sub

I have a worksheet that is locked and protected now, except for cells in a certain collumn. I have named the cells in that column "MS96A".

If a user enters a date in a cell or range of cells anywhere in the column, the changed cells also need to be locked and protected (Once they enter a date, it is not allowed EVER to be changed again. Corporate requirement! *Shrug*).

What I am looking for is this. If the user selects that cell again, they will get the usual pop-up message, "The cell or chart that you are trying to change is protected..."

I think I am close, but I am getting an "End If without block If" error on the If Clause.

Sub Worksheet_Change(ByVal Target As Excel.Range)

Dim MRange As Range

Set MRange = Range("MS96A")

' If Not Intersect(Target, MRange) Is Nothing Then For Each cell In MRange Sheets("Sheet1").Unprotect Password:="temp"

cell.Interior.ColorIndex = 3

cell.Font.Color = vbBlack

Selection.Locked = True

Selection.FormulaHidden = False

Next cell

ActiveSheet.Protect Password:="temp", _

DrawingObjects:=False, _

Contents:=True, _

Scenarios:=False

ActiveSheet.EnableSelection = xlUnlockedCells

End Sub

Greetings all,

How do I link cells so that I can make data entries into either cell? I believe this is called 2 way cell linking.

In short, I want to have a cell on one tab linked to a cell on another tab and be able to change the value of both cells by entering data either tab.

How do I link cells so that I can make data entries into either cell? I believe this is called 2 way cell linking.

In short, I want to have a cell on one tab linked to a cell on another tab and be able to change the value of both cells by entering data either tab.

I am needing a formula that would cause a currency amount from a calculation to round up or down to the nearest 100.00 mark. The current formula is ie: =E10*F10 (e10 being an amount of money and f10 being a percentage fo it.) I am needing the resulting answer to round up or down to the nearest 100. So if the answer is below the 50 mark it would round down and above it would round up. If that is not possible then just rounding down would be acceptable.

How do i do this??

Thanks

How do i do this??

Thanks

Hi There

Im trying to Sum the total of a number of cells using the following formula:

=SUM(F57,H57,J57,L57,P57,N57,D57,,R57,V57,T57,X57)

however some of those cells might be blanks as they are dependant on other data. The probelm im having is that when they are blank i am getting the the sum as 0. i know this isnt the case but dont know how to rectify my code.

Im trying to Sum the total of a number of cells using the following formula:

=SUM(F57,H57,J57,L57,P57,N57,D57,,R57,V57,T57,X57)

however some of those cells might be blanks as they are dependant on other data. The probelm im having is that when they are blank i am getting the the sum as 0. i know this isnt the case but dont know how to rectify my code.

In excel, I tried to convert numbers to number format, using

format/cells/number from the category list. But it won't take, and stays

text-like. Any ideas?

format/cells/number from the category list. But it won't take, and stays

text-like. Any ideas?

I would like to know if it is possible to deselect 1 cell after selecting

many cells using the CTL-Click method. For example, you are indivdually

selecting cells in a worksheet and you accdidently select a cell you dont

need, how can you deselect that one cell without deselecting all of them and

starting over again?

many cells using the CTL-Click method. For example, you are indivdually

selecting cells in a worksheet and you accdidently select a cell you dont

need, how can you deselect that one cell without deselecting all of them and

starting over again?

I recently moved into a new office and I am using a brand new computer on our network. When trying to edit an existing file, I'm not able to select a single cell and type. After clicking on a cell, if I move the mouse at all (even without pressing the left button) it just continues highlighting cells no matter where I move the mouse. I am also not able to click on the tool bars at all. I have to actually Ctrl-Alt_del to get out of the program. I'm sure this is something simple, but I don't know that much about this program. Any help would be greatly appreciated.

A previous poster explained what I also need; there were no responses,

so I thought I would try again.

Does anyone know of an Excel template--or a small stand-alone

program--that will calculate the interest/principal breakdown when

payments are varied in amount and frequency? Free or low-cost, please.

I need one that will work on my Mac/Office 2004. I will need to print

out periodic reports.

Here is the way the previous poster described it:

"Excel template: Loan Amortization for random/irregular payments,

figures days

between payment dates.

I have a loan with a variable beginning balance and irregular payments

with

annual large payment. (based on collections)

Would like to enter payment and date.

then Excel would figure days since last payment, interest amount,

principal

amount, Ending Principal balance.

And total interest paid, total pricipal paid

If I change the starting principal, excel would recalculate all

entries."

Thanks very much.

so I thought I would try again.

Does anyone know of an Excel template--or a small stand-alone

program--that will calculate the interest/principal breakdown when

payments are varied in amount and frequency? Free or low-cost, please.

I need one that will work on my Mac/Office 2004. I will need to print

out periodic reports.

Here is the way the previous poster described it:

"Excel template: Loan Amortization for random/irregular payments,

figures days

between payment dates.

I have a loan with a variable beginning balance and irregular payments

with

annual large payment. (based on collections)

Would like to enter payment and date.

then Excel would figure days since last payment, interest amount,

principal

amount, Ending Principal balance.

And total interest paid, total pricipal paid

If I change the starting principal, excel would recalculate all

entries."

Thanks very much.

I have an extensive spreadsheet with several columns and all showing borders

where each cell/column begins and ends. However there are a few cells where

the break with the next cell does not show the line.

I have highlighed the cell in question, gone to format/cell/borders and

everything looks fine. Black color + format border shows square with all

sides of square showing.

Any thoughts on how to fix these few random cells.

Thanks

where each cell/column begins and ends. However there are a few cells where

the break with the next cell does not show the line.

I have highlighed the cell in question, gone to format/cell/borders and

everything looks fine. Black color + format border shows square with all

sides of square showing.

Any thoughts on how to fix these few random cells.

Thanks

I have a couple of worksheets that have goal seek already performed on 20 target cells (for each worksheet). I did this manually, without a macro (since I'm absolutely horrible at all of this).

Now from what I can tell, I need a code to add to the worksheet module in order to make sure that the goal seek updates itself whenever I change a value in the formula of the target cell.

what IS that code?! I can't understand the codes some people have put up, so I have no idea what to do.

Target Cell: M21:M42

Changing Cells: N21: N42

Now from what I can tell, I need a code to add to the worksheet module in order to make sure that the goal seek updates itself whenever I change a value in the formula of the target cell.

what IS that code?! I can't understand the codes some people have put up, so I have no idea what to do.

Target Cell: M21:M42

Changing Cells: N21: N42

Hello,

I am new to using Excel and I am not very computer literate. I am looking for some help with a spreadsheet I am making. Here is the problem:

I have a column of 14 numbers in cells A1 to A14. If all of these values are less than 2%, I would like a "Pass" to display in cell B1. If any of these values are greater than 2% I would like a "Fail" to display in cell B1.

I have got a formula that works for a single cell but I can't figure out how to get it to apply to more than one cell. For example, I have entered =IF(A1<2,"Pass","Fail") in cell B1. Now if the value I enter in A1 is less than 2, it shows a "Pass", and if the value in A1 is greater than 2 it shows a "Fail" in cell B1. How can I get this to apply to all of the cells from A1 to A14?

If somebody could help me out that would be great.

Thanks,

Randy

I am new to using Excel and I am not very computer literate. I am looking for some help with a spreadsheet I am making. Here is the problem:

I have a column of 14 numbers in cells A1 to A14. If all of these values are less than 2%, I would like a "Pass" to display in cell B1. If any of these values are greater than 2% I would like a "Fail" to display in cell B1.

I have got a formula that works for a single cell but I can't figure out how to get it to apply to more than one cell. For example, I have entered =IF(A1<2,"Pass","Fail") in cell B1. Now if the value I enter in A1 is less than 2, it shows a "Pass", and if the value in A1 is greater than 2 it shows a "Fail" in cell B1. How can I get this to apply to all of the cells from A1 to A14?

If somebody could help me out that would be great.

Thanks,

Randy

I use a excel file through the course of the day and need to insert the current date in one column and the current time in the next column. I want to be able to just highlight the selected range of cells I need to insert into and hit a macro button and have the date and time inserted into just the cells I have highlighted. I'm not sure how to make this work with just the cells I've highlighted. Any help any one can give me would be greatly appreciated. Thanks!

Mike

Mike