Counting Letters & Returning Greatest Won't Work When There Is A Tie

Apr 16, 2009

I have managed to get a nice array formula to look up count all the Rs As & Gs in some cells and return whichever there are most of (the cells are linked to/fed from another workbook with cells that have either an R, A or G in - nothing else)

And mainly this is working but on one set of cells it returns nothing as there are 2 As and 2 Gs - what is really annoying is that on a set of cells on a another section of the tab there are 5 A's and 5 G's and that returns an A.

View 4 Replies


ADVERTISEMENT

Counting In Letters

Sep 30, 2008

I am basically looking for a method to fill in information through VBA in excel into a 2-D grid. Ideally I would like this to work but it does not.

View 14 Replies View Related

Lookup Formula Started Returning Wrong Letters

Jul 17, 2013

I am using the formula: LOOKUP(A1,{"S","M","L","XL"},{"S","M","L","XL"}) on a cell containing: EF-2147.(S) so that it will return a S [or M, L etc. if it were .(M),.(L)] but it just keeps returning #N/A. I tried putting in "(S)" etc. in the lookup formula but it then started returning the wrong letters.

View 2 Replies View Related

Counting Captial Letters

Dec 5, 2009

this topic is semi-related to to the link below..its not need to look at it..its just for reference.

basically in this topic i just need help condensing the formula in cell "C18"

it just counts the capital letters in cell "B18"

http://www.mrexcel.com/forum/search....archid=1894488

Sheet7

ABC18Micheal Johnson JonesM. J. J. 319United States of AmericaU. S. A. 320Laugh Out LoudL. O. L. 3
Spreadsheet FormulasCellFormulaB18=init(A18)C18=LEN(B18)-LEN(SUBSTITUTE(B18,"A",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"B",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"C",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"D",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"E",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"F",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"G",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"H",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"I",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"J",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"K",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"L",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"M",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"N",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"O",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"P",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"Q",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"R",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"S",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"T",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"U",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"V",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"W",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"X",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"Y",""))+LEN(B18)-LEN(SUBSTITUTE(B18,"Z",""))

Excel tables to the web >> Excel Jeanie HTML 4

View 9 Replies View Related

Counting Times Certain Letters Appear In THREE Columns?

Sep 30, 2013

If I have two columns of data, and I want to count the numbers of times a certain letter appears in column A and another certain value appears in column B, I use the following formula:

=sumproduct((AA="yes")*(BB:="X"))

What formula would I use to count the number of times "yes" appears in column A, AND EITHER "X", "Y", or "Z" appear in column B?

Would this still be a SUMPRODUCT formula, or would a cOUNTIF formula be used?

How about counting the times certain letters appear in THREE columns?

View 2 Replies View Related

Counting Number Of Specific Letters In A Cell?

Sep 11, 2013

I have column A and B , in Column A cells i have words that I need to count the number of specific letters from them.

like :

A2= Apples

I need B2 to show the number of letter "A" in A2's text.

View 4 Replies View Related

Counting Without Returning 0...

Dec 16, 2008

I want my worksheet to search a column for a specific date (3-Dec-2008, for example) and count cells containing only that specific date. If it finds the date, I want it to count them.

However, if that particular date doesn't appear in the column, it returns 0. I want the cell to return blank. Basically, instead of giving me 0, I want it to return empty. I've tried IF statements, COUNTIF statements, combinations of IF/COUNTIF statements.

View 5 Replies View Related

Counting Back And Returning Workday

Nov 27, 2012

I'm using the following to return the previous TUESDAY in my Event Date cell F43

=$F$43-WEEKDAY($F$43+4)

It works great but if my event date is a Wednesday I need to return the Tuesday in the week prior not in the Tuesday immediately prior.

That is, If the event falls on Wed 22 May 2013 the cell needs to return Tuesday 14 May 2013 not Tuesday 21 May.

View 3 Replies View Related

Return Nth Greatest/Smallest Value

Aug 18, 2008

I want to ask if there is a way to find the next greatest maximum without a ton of auxiliary coding....Is there a function which does that in Excel? For example from the following list it would give 45:

1
34
45
26
78
29
7

View 4 Replies View Related

Find Greatest Date In A Column

Dec 22, 2008

I am trying to find the formula to find the greatest number/date etc in a column, I'm not sure which one I should be using?

For example I have a list of dates in Column B and I want in cell A1 to show the latest date in that column, so if the dates are

21/12/2008
05/02/2009

it would show 05/02/2009 in cell A1.

View 3 Replies View Related

Finding The Nth Greatest Value Meeting Criteria

Jan 1, 1970

I can get the result. It shows #num! in cell F2

View 14 Replies View Related

Find Greatest Number Used In A Column

Feb 1, 2013

I have a set series of numbers as follows:

7550-0101

7536-0130

7538-0131

7535-0128

7536-0126

[Code] ....

I would like to disregard the digits before the hyphen (not always four digits) and check only the values of the last set of digits (also not always 4 digits). I would like to search for the greatest suffix used to find the next available number. In my data above the result would be 132.

View 3 Replies View Related

Greatest Common Divisor Of Two Numbers?

Mar 11, 2013

How to find the greatest common divisor of two numbers? I can not use the built in common divisor function.

View 4 Replies View Related

Return Greatest Value In Text String

Jan 8, 2014

Formula that could find the result and return the greatest text value?

I have over a 1000 records broken down by Leaders of which each is roughly 50 records. in those records, answers are either : 4 hours, 8 hours, 24 hours or 48 hours. I need to have a formula return of the 4 choices, which had the greatest value.

View 5 Replies View Related

Calculate Percentage With Greatest Denominator

Jan 24, 2008

I have two columns of data, in another column I have the difference between these two columns, now I want to show the difference as a percentage. Assume cell A is 0.02 and cell B is 0.03 the difference is 0.01 and the percentage of the difference would be 33% or 0.01/0.03, my problem is when cell A is 0.04 and cell B is 0.01 the same formula wouldn’t work in both cases since in the first A<B and the second A>B is there a way that I can take the difference and divide it by the greater of A and B without having to do it manually?

View 6 Replies View Related

How To Sort And Filter By Greatest Change In Percentage

Dec 1, 2013

In the first picture the Pivot Table is showing the profit of each city in 2010 and 2012. Where I used Sort & Filter Largest to smallest, in order to display the cities with greatest profit.

Prosent.png

But when I switch the values to `% of` year (Previous). I get the change from 2010 to 2012 in percentage. But my PROBLEM is when I want to Sort & Filter from Largest to Smallest, cause I want to show the cities that have had the greatest percentage change from 2010 to 2012. But the I only get the same cities, and when I look at ex. 'Gjovik' is has had a 125 % in change and should be in the top.

So how am I able to Sort & Filter from Largest to Smallest the cities with greatest change in percentage?

View 3 Replies View Related

Extract Out Of A Column The Greatest Rate Of Change

Feb 22, 2009

I have wave data and need to extract out of a column the greatest rate of change i.e. start from a1 if the numbers are going down find the first number that starts going upward...and put in column b...then find the next first number that is going down and put in column b....and so on and so on all the way down the column.

View 4 Replies View Related

Count Of Greatest Number Of Repetitions In Column

Apr 25, 2008

I have values like this in a column

1
1
2
2
2
3
3
3
3

In this column '3' has the maximun number of repetions of 4. I need to get '4' as the output of my code..

View 5 Replies View Related

Removing Two Letters From A String Of Letters And Numbers

Jul 29, 2014

i have a list of 2000 fields which have the same format IE "AB10014"

I need to remove the "AB" from every field and leave the #.

Besides putting a space and running text to columns I'm not sure how.

View 13 Replies View Related

Macro For Creating Letters To UPPER Letters

Dec 7, 2009

I have words in cell range (i.e. A1:A1000) and I want them to became upper letters.

Excel forum to EXCEL FORUM

View 5 Replies View Related

Remove Letters From A Column Containing Both Numbers And Letters

Jul 24, 2012

I have a column of cells, some blank, some containing just numbers, some containing just letters, some containing numbers preceded by the the letter 'p'

E.g.

frt
34.2
36

p34.5

In the cells containing the number preceded by the 'p' - i would like to remove the 'p' leaving just the number, with all other cells remaining unchanged.

View 3 Replies View Related

Using Lookup Function That Locates The Nearest Lowest AND Greatest Value?

Nov 16, 2009

I'm trying to use vlookup function in table 2 referencing table 1 using the approximate parameter. However, an approximate vlookup value is by definition the closest *least* value. Is there a trigger of some sort to locate the closest *greatest* value as well?

For instance, if the lookup_value in table 2 is 2.450 but the referenced table 1 only has 2.445 and 2.475, I will only retrieve the respective value related to 2.445 -- how would I retrieve the other value at 2.475?

Essentially, if a lookup_value rests in between two values of whatever is being referenced, I am trying to average those two closest numbers. Is there a function I've overlooked that may help with this?

View 12 Replies View Related

How To Seperate Small Letters And Big Letters

Mar 9, 2009

how can I seperate small and big letters from one collumn, example:

NAME
name
NAME
NAME
name
name

View 11 Replies View Related

Column Letters- VBA Command To Get The Letters

Nov 17, 2009

Is there a VBA command to get the letters, instead of the numbers, of the column of a selected cell?

I have to letter a list whihc means setting up a loop using character codes.

I may have to go into double letters so I am working on how I would set up the loop for if and when it gets past 90 and starts on double letters. so far the highest is the letter "U"

of course the easiest would be to pick up a column value as a letter

NT values do not get a number

A_____ _____NT###
B_____1_______C####
C_____2_______RMK###
D____ _______NT####

i am guessing the loop might involve some arithmetic test between the count and the character set 65-90. or maybe a mod thing.

View 11 Replies View Related

Work Out A Formula For My Spreadsheet Which I Use To Work Out Cutting Lists For Timber Frames

Jan 11, 2009

i need to work out a formula for my spreadsheet which I use to work out cutting lists for timber frames. I need it to work out if the width of a job is for eg 2400mm i need to work out how many timber studs I need so the space between each stud is between 400mm and 500mm and this will need to work for a range of different sizes of frames. I have it written at the moment and it just devides the width by 400 and gives me a amount of studs but it would work much better if it could space them between 400 & 500.

View 4 Replies View Related

Work Accurately With Times To Calculate The Work Progress Of The People In The Workshop

Mar 3, 2009

In a project i am compiling i need to work accurately with times to calculate the work progress of the people in the workshop thus....here goes....

I have in work book #1 (7) sheets mon to fri + complete week + a sheet where all job numbers are collected.

From monday to friday the workmen log their times as a start time and a end time. This has to be then calculated to a total hours:mins spent per job, wich in turn then has to be calculated to a total hours:mins spent per day. And the on the complete week sheet recalculated as a total time worked per week.

View 9 Replies View Related

How To Get A Macro To Work With Any Work Book Name

Aug 24, 2009

i have a made a macro that copies info to a new sheet now that is working great but if i change the name of the work book it wont work any more so i need the macro to work with what ever name i give the workbook

the current name is

AVERAGE PRICE (update 2009) Mimmos Armico 170809.xls

i have attached the code in notepad ...

View 8 Replies View Related

Make To Display (0), Instead Of (-0,02) When I Just Do Other Work Than Cad Work

Feb 13, 2010

In column J, Cad Hrs. How to make to display (0), instead of (-0,02) when I just do other work than Cad Work? I need to separate type of work according to price hour, overtime, and so on.

View 2 Replies View Related

Counting Matching Values In Two Separate Ranges Without Counting Duplicates?

Jan 1, 2014

I cannot get various formulas (Countif, Match, Frequency, Etc) to work properly.

I am trying to arrive at a total number of matches of numbers in cell range B1:G1 with any numbers entered into the cell range of K1:P11 and have the total of matches display in cell H1.
However I do not want to count duplicate numbers from the K1:P11 cells. (if the number 5 in posted in K1:P11 multiple times I only need it reported once in H1)

B1:G1 is the constant and the numbers will not change - K1:P11 cells will be populated by adding numbers until the all the numbers in B1:G1 is completed and match.

Range
B1 C1 D1 E1 F1 G1
2 7 19 45 22 13

H1 Total of matching numbers in cell range K1:P11

View 3 Replies View Related

Copying A Certain Range In A Work Sheet To Another Existing Work Sheet Using VBA

Dec 29, 2009

I have a range of cells in a work sheet "sheet 1 " my objective is to filter this range according to certain criteria (i ve succeeded to do this ) yet what i want to do now is copy this data to another existing worksheet in a certain range .

note :the existing worksheet to which i 'll copy the filtered data has some cells out of the range that i dont want to over write ..

Simply :how to copy a selected range of cells in a work sheet to already existing work sheet in a specific range aswell .

View 9 Replies View Related







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