Reduces Numbers In Rows To A Certain Number
Aug 21, 2008
If the number is less than a specific number I want it to stay the same.
If the number is higher than a specific number I want it to be lowered to the specific number.
Does this make sense? Or can anyone help me to develop a macro to do this?
An IF function is not viable for the amount of data as there is 250+ rows and up to 75 columns of data.
View 9 Replies
ADVERTISEMENT
Jul 15, 2006
I have a problem with one of my files. Each time I open it up, the listboxes keep getting smaller and smaller. I have no idea what is causing it.
View 9 Replies
View Related
Jun 30, 2009
I have a 52 (one for each week) page workbook. I am trying to average cell J9 for the entire 52 pages. However the information is not added to the cell until the end of the week so week 30-52 all have 0s and should not be counted in the dividing number. Is there a way to have Excel count the number of cells that have a number (not 0) and divide the sum of the cells but that number.
=(WK1!J9+.....WK52!J9) / (counted number of cells not = 0)
View 14 Replies
View Related
Feb 23, 2010
The format of the text in which I need to extract numbers is as follows:
23411268 - 23411270
Need to extract the following:
23411268
23411269
23411270
These numbers have to be listed in three seperate rows.
View 14 Replies
View Related
Aug 20, 2014
following issue:
The following table is given:
flower
20
rose
flower
21
rose
[Code] ........
Which needs to be turned into:
flower
20
22
rose
flower
31
32
blossom
tree
1
3
apple
The last column is the one that dictates when a new range of numbers start. There should be one range of numbers for Rose, One range for Blossom etc.
View 4 Replies
View Related
Sep 11, 2008
I want to delete rows in whole list and numbers of rows to be deleted I have in for example C column. How to do it?
View 9 Replies
View Related
Oct 24, 2013
I need to generate 8 (random) numbers which should range between 0 to 80 and the sum of those generated 8 numbers should be 80.? How can I achieve this.
View 14 Replies
View Related
Oct 18, 2006
I have the data as follows in each cell a number:
1 5 6 23 45 2
6 23 45 5 1 22
9 10 11 1 36 5
I have this kind of data going down about 2000 rows. I want to find how many times 1 and 5 appear in each row until there is no more data to read. I found the formula below but I cant use it for 2000 lines plus any extra that will appear in the future...
View 4 Replies
View Related
May 24, 2007
I have 3 columns and 200 rows. The first column is for Name of product. 2nd column for number and 3rd for $value of number of products. Have 200 rows. Have done a sort and checked. 2 sets of rows are for the same product name. I want to know if it is possible to add up values in 2nd and 3rd column, 2 rows at a time , then 4th and 5th column and so forth, by some formula rather than doing it manually?
View 4 Replies
View Related
Mar 1, 2014
I work on a daily basis with spreadsheets in excel. The number of columns is the same, but every single spreadsheet has a different number of rows. I recorded this macro in a table with 1196 rows and I would like to use this macro also in other tables with a different number of rows.
Sub City2()
'
' City2 Macro
'
'
Selection.Copy
Cells.Replace What:="POMPANO", Replacement:="Pompano Beach",
[Code].......
View 12 Replies
View Related
Jun 16, 2014
calculate the number of full rows in one data base located on one sheet X to determine how many rows the macro needs to extend on sheet B (sheet B is made only of formulas for data interpretation in sheet A.
View 14 Replies
View Related
Feb 17, 2010
The best way to explain my problem is to look at the table below:
How it looks now: ApplePrice 1
Price 2
Price 3FruitDeliciousPearStore 1
Store 2FruitVery DeliciousHow I want it to look:ApplePrice 1FruitDeliciousApplePrice 2FruitDeliciousApplePrice 3FruitDeliciousPearStore 1FruitVery DeliciousPearStore 2FruitVery Delicious
View 9 Replies
View Related
Mar 10, 2014
I would like to create a vba script when ran an input.box comes up and asks you to "enter number you want to start numbering from" and when the number is entered in the input box. e.g "7654", excel starts numbering each cell in column A from 7654 until there is an empty cell in column B.
View 7 Replies
View Related
Feb 18, 2013
I am a hotel manager writing a budget for my 99 bedroom hotel. I need to add an extra rooms on a different increments as a starting point.
so - I have a column with 365 days of rooms sold. 50 75 98 etc......
If the number is 20-50 I want to add an extra 3 rooms
If the number is 50-80 I want to add an extra 2 rooms
If the number is 80-99 and extra 1 room
Clearly over 99 no extra rooms as the hotel only has 99 rooms!
View 3 Replies
View Related
Jan 3, 2014
I have build a system that needs a lot of random numbers generated to work.
I have used what I thought would work to generate me these numbers like this example:
VB:
Lastrow = ThisWorkbook.Sheets("RPlay").Range("A" & Rows.Count).End(xlUp).Row
RPlayerNum = Int((Lastrow - 2 + 1) * Rnd + 2)
This would generate a random number into RPlayerNum variable, based on the list in sheet RPlay, missing off row 1 as the header.
However we have noticed a massive flaw in this code.... It works as long as the excel file is open, each time run it gives a different random number. However if you close the excel file and open it, then run it, it ALWAYS gives the same number first run, every time.
View 3 Replies
View Related
Jan 24, 2014
I am trying to add some numbers only if they are integers/numbers. My condition goes like this:
IF((rangeA)=Numbers,SUM(rangeA),"One or more values not available")
I came up with this formula, but it gives me an error.
=IF(ISNUMBER(P5;Z5;BL5;BN5;BP5;AS5;AV5;EU5;FI5;GH5;GK5;GN5;GX5;HE5;HR5);SUM(P5;Z5;BL5;BN5;BP5;AS5;AV5;EU5;FI5;GH5;GK5;GN5;GX5;HE5;HR5);"One ore more values not available")
It says I have given many arguments for ISNUMBER function.
View 6 Replies
View Related
Sep 5, 2007
what I have is a spread sheet of over 3000 numbers.
Now this is what the number looks like:
0000123456000
what I need is basically a formula or something to take out the zeros (They are not really zeros on the spreadsheet, its just an example to make it easier to display). And leave the six digits in the middle. Is this possible?
View 10 Replies
View Related
Oct 24, 2008
I have a list of numbers that I have to concatenate with another number depending on if it falls within the parameters and I don't know how to do a lookup on that. I currently am using a complex if/or/and statement which is too dificult to debug and extremely complex like this: if(OR(AND(a>=1,a<=10),AND(a>=20,a<=30)),concatenate(a,"123"),if(OR(AND(a>10,a<20),(a>30,a<40))),conc atenate(a,"456"),"a is not in the parameter")
is there a way to do a lookup for this?
Something else to throw into the mix, there are some ranges that shouldn't be there and return nothing so from 40-55, there shouldn't be a result.
also, there are some that are just one number (56 gets 789 but then at 57 it goes back to abc)
View 7 Replies
View Related
Jun 13, 2009
I have a column with all different numbers. I need to add 3 to each number. Ex. 12.46 needs to change to 15.46. This can be done in the same column or a different column. Doesn't matter. I just need to add 3 to each number in the column. Right now I'm typing them in :o
View 4 Replies
View Related
Dec 17, 2006
I'm looking for a formula to check whether a given number is between two other numbers.
Example: I have a list of data items which give the following info:
A.......B..........C.........D
ID# Group Low# High#
1001 food 12345 13960
1003 soap 27192 32245
2004 tires 93471 95532
2005 food 71174 76772
2006 soap 33183 36591
Such a list is many hundred of lines long.
Then I have other data which provides a Group ID and a product number, which number is likely to between the Low# and High# in the data list.
What I want is a formula to check whether the product number is between the Low# and the High#, AND that the Group matches.
Example: the data being supplied is Soap 28332. So, I want a formula to check through the data list, and if 28332 is between the Low# and the High# AND if the group SOAP matches, then give back the correct ID number.
Thus for the data Soap 28332, I would want the answer to be 1003, which is the ID # for soap in the given range.
A data listing of Food 73776 should give back the ID 2005, etc, etc. This list of data needing the correct ID# is thousands of lines long.
Thus I need a formula to check that the given number is within the low and high #, and that the group designation matches. If so, then give back the correct ID#.
View 14 Replies
View Related
Apr 26, 2008
I have a question that has been bugging me for a long time and an answer to it can be a big timesaver for alot of excel users specially accountants that do account reconciliations..
lets assume that I have 3000 numbers(amounts) listed on an Excel spreadsheet vertically, and i know for a fact that the sum of most of these 3000 transactions equal a certian amount..lets say $1,200,320.23,
lets also assume that all these amounts on the list are unique..
now..I want to isolate these numbers(amounts) that add up to that $1,200,320.23 by way of highlighting them or any other method. once that is done, I would be left with the amounts that are causing the descrepency in that account. I wonder if there is any function, utility or even VBA code in excel or even another software that can help solve that problem..I hope my explaination was suffecient, let me know if you need further clarification.
View 9 Replies
View Related
Feb 12, 2010
I am trying to do a VLOOKUP on a worksheet with a list of our Part numbers. The Part numbers begin with zero and go into the alphabet with anywhere from 3 digits upto 18.
When I sort the sheet Excel sorts the numeric by the number of digits in the number AND totally ignores the first zero. I can not format as numbers since again Excel drops the first zero. Therefore, when I do the VLOOKUP it will not look through the entire numeric list for the higher digit numbers. Is there anyway to resolve my VLOOKUP issue with indexing or?
View 9 Replies
View Related
Feb 14, 2007
Example:
I have a worksheet that has a column with amounts in it. I would like to find the numbers in that column that add up to a certain amount.
View 9 Replies
View Related
Oct 9, 2009
I would like to count the no. of rows that has "Evolution" in column 8. Just a msg box to display would help.
View 8 Replies
View Related
Aug 17, 2013
I have an unusual situation which is best explained by way of an attached example.
In summary adding and subtracting four cells containing integer values outputs an unexpected non-integer value, which should in fact be zero.
The situation is best explained by way of example which I attach to this post : Excel Problem.xlsx
Basically, Cell E1 should be zero.
View 4 Replies
View Related
Feb 3, 2014
I need to find the minimum of 4 numbers placed in 4 columns and delete the one which is minimum among them. I know to find minimum I can use min function but i don't know after finding how can i delete that automatically. Also problem is if two or more numbers are identical and minimum value it has to delete any one of them.
View 4 Replies
View Related
Apr 20, 2009
I currently have account numbers formatted 1.234.5678 and need to convert them all to 1234.5678. how this can be done without manually keying 22,000 account numbers?
View 3 Replies
View Related
Jan 4, 2010
i have a worksheet filled with numbers in each cell (the worksheet might have a total of 150 rows and 150 columns of numbers).
the numbers typically range from 1-3 or 1-9 or 1-150.
however, there are also multiple 997, 998, and 999 numbers in the cells.
i need to identify the highest number in the worksheet that is not 997, 998, or 999.
View 14 Replies
View Related
Jul 14, 2002
how can I type numbers to the power of something Say 12 to the power of 3. I want the 3 to be smaller and up off the line is that possible
View 3 Replies
View Related
Sep 5, 2012
I'm trying to count the number of numbers within a given range.
Example Row Y has cells that contain a series of numbers 1,5,9,12,23. No cell in the range should have the same individual number more than once. At the end of row Y I want to know how many numbers, not the total of the numbers are within that range.
Y
1 1,3,5
2 21,32,44
3 12,19,31
..
40 2,4,18
41 total number of numbers in range Y1:Y40 - 12
View 9 Replies
View Related