#### formulae problems:HELP

```hello there, i have jst started a new I.T job and need some help with
excel,heres my problem, if cell A = 5014 then l - m. under a lot of
pressure here can somone please help.

--
stevenmorrison
------------------------------------------------------------------------
stevenmorrison's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=26188
View this thread: http://www.excelforum.com/showthread.php?threadid=394944

```
 0
8/11/2005 2:10:04 PM
excel.misc 78881 articles. 5 followers.

8 Replies
576 Views

Similar Articles

[PageSpeed] 46

```We don't quite have enough information for a complete answer, but here'
something to work with:

Assuming your values begin in Cell A1, put this in another column o
row 1 and copy down (eg. in Cell B1):

=if(A1=5014,L1-M1,0)

You didn't say what to do if Col A doesn't =5014, so that formul
returns a zero.

Does that help?

Ro

--
Ron Coderr
-----------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=2141
View this thread: http://www.excelforum.com/showthread.php?threadid=39494

```
 0
8/11/2005 2:42:44 PM
```thanks fro ure reply, i have 2 different values in collum A,5014 &
5015,stretch over about 40 rows. now i want the values which in l & m
which are in the same rows as the 5014's to be included in the
calculation, i just cant get the formulae to work.

cheers

--
stevenmorrison
------------------------------------------------------------------------
stevenmorrison's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=26188
View this thread: http://www.excelforum.com/showthread.php?threadid=394944

```
 0
8/11/2005 2:52:35 PM
```Are you looking to summarize all L's minus M's for rows where Column A
equals 5014?

Ron

--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=21419
View this thread: http://www.excelforum.com/showthread.php?threadid=394944

```
 0
8/11/2005 2:55:30 PM
```yes ron, im looking for the result of l -m to be the resut of my
formulae where l + m are in the same row as any Cell A:5014's which may
be on the spreadsheet.

cheers again.

--
stevenmorrison
------------------------------------------------------------------------
stevenmorrison's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=26188
View this thread: http://www.excelforum.com/showthread.php?threadid=394944

```
 0
8/11/2005 2:59:37 PM
```OK...see if I'm on the right track here.

Put one of these formulas in a cell anywhere but in columns A, L, o
M:

=SUMIF(\$A\$1:\$A\$40,5014,\$L\$1:\$L\$40)-SUMIF(\$A\$1:\$A\$40,5014,\$M\$1:\$M\$40)

=SUMPRODUCT(--(\$A\$1:\$A\$40=5014)*((\$L\$1:\$L\$40)-(\$M\$1:\$M\$40)))

Does that help?

Ro

--
Ron Coderr
-----------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=2141
View this thread: http://www.excelforum.com/showthread.php?threadid=39494

```
 0
8/11/2005 3:07:43 PM
```thanks ron ure the man, the top one works, havent tried the 1 below it.

i cant thank u enough.

any chance of talking me through that formulae

=SUMIF(\$A\$1:\$A\$40,5014,\$L\$1:\$L\$40)-SUMIF(\$A\$1:\$A\$40,5014,\$M\$1:\$M\$40)

--
stevenmorrison
------------------------------------------------------------------------
stevenmorrison's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=26188
View this thread: http://www.excelforum.com/showthread.php?threadid=394944

```
 0
8/11/2005 3:17:58 PM
```Sure....

=SUMIF(\$A\$1:\$A\$40,5014,\$L\$1:\$L\$40)-SUMIF(\$A\$1:\$A\$40,5014,\$M\$1:\$M\$40)

Try thinking of the SUMIF like this:
=SUMIF(
Find items in this range,
That match this value,
When you find them...add the corresponding items from this range)

So, in your example, the first SUMIF:
=SUMIF(\$A\$1:\$A\$40,5014,\$L\$1:\$L\$40)

Works this way:
=SUMIF(
Find Items in this range: \$A\$1:\$A\$40,
That match: 5014,
When you find them...add the corrsponding items from this range:
\$L\$1:\$L\$40)

The first SUMIF adds the total matched values from Column L.
The 2nd SUMIF subtracts the total matched values from Column M.

Does that help?

Ron

--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=21419
View this thread: http://www.excelforum.com/showthread.php?threadid=394944

```
 0
8/11/2005 3:23:58 PM
```thanks ron thats great, ill b sure to keep an eye out for u if i hav
problems in the future.

cheers

steve

--
stevenmorriso
-----------------------------------------------------------------------
stevenmorrison's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=2618
View this thread: http://www.excelforum.com/showthread.php?threadid=39494

```
 0
8/11/2005 3:26:32 PM
 Reply:

Similar Artilces:

help with formula please #2
Can anyone please help with this formula. If Sheet1 Column A = nothing(blank) And Column B = \\\\\\CC\\\\\\ Then Sheet 2 B7 = SumTotal. As a regular formula would be nice or VB code Hi Richard you want nothing at all in the whole of column A in sheet 1? do you want every cell in column B of sheet 1 to have \\\\\\CC\\\\\\ or should this (can this) only appear in one cell? and what range are you summing on sheet 2 in cell B7? Cheers JulieD "Richard" <anonymous@discussions.microsoft.com> wrote in message news:82ce01c477e1\$77f0e740\$a301280a@phx.gbl... > Can anyone please ...

Changing a range of an array in a SUMPRODUCT formula gives a #N/A error
I have a working SUMPRODUCT formula {=SUMPRODUCT((\$C\$4:\$C\$4341=z8)*(audittypefm1="Standard"))} that I need to change the 1st array to C5623. When I do I get a #N/A error. I've tried giving the range a name (empnofm2), and I've verified all the data in the C4:C5623 range is formated the same (general, it is all employee numbers from 2 to 5 digits long. I'm using a "trim all" macro which is working great. I am unable to determine what is causing the #N/A and how to fix it. Basically I copied an entire worksheet within the same workbook and changed the name, wh...

Data Migration Problem 01-14-05
Hello, i had just read the data migration frameworkguide, and i'm trying to migrate data into the crm database. But i have not the same entries in my cdf_Account_info table, but data is in cdf_Account table present. What is working wrong?? log files are correct. I hope someone can help me! ali Hi Ali, This sometimes happens if the triggers on the cdf_Account table don't fire. I'm not sure as to the reason behind this but you can manually update the cdf_Account_info and cdf_Account_ext files with the AccountId from cdf_Account. Try use the following SQL: Insert Into cdf_A...

Appending or Up-dating a formula
I am using an =Ave function in a formula to average quite a few cell values together. I add new information all the time; sometimes 5 or 6 new cells at a time. How can I append or up-date my formula to include these new cells with out have to type the new cells into the formula? When I make the cell that has the formula in it active/edit, all of the cells that are referenced in the formula have a highlight around them. Is there a key or key combination I can press while clicking on the cells I want to add to the formula? Thanks, john Hi see your post in Excel.misc -- Regards Frank ...

PivotTable Question - Repost
Hello. I'm using Excel 2000. I've created some pivot tables for reporting purposes. I intend to use them to replace old fashioned charts and tables that are manually keyed summary data. I need to keep the transition to the new spreadsheet as unobtrustive as possible for my less technical users, so that they have the same charts that they're used to. The problem with that is, I need to create seven charts. I want to use the same pivot table (which pulls data from Access) for each chart, but I want each chart to have different categories, page fields, series, etc. ...

Only MVP could help.
In the SQL database there is a column that holds the data where this transaction is onhold or not. Dose any MVP know which table and column holds that data?? Look at TransactionHold and TransactionHoldEntry. Afshin Alikhani - ( afshin@retailrealm.co.uk ) CEO - Retail Realm = = = = = = = = = = = "TJW" <TJW@discussions.microsoft.com> wrote in message news:C53A8D5C-17DD-4D28-A237-D061028BB440@microsoft.com... > In the SQL database there is a column that holds the data where this > transaction is onhold or not. Dose any MVP know which table and column > holds > ...

help with a formula #5
I have 98 sets of magazines each set has 12 in the set what formula can I use to get a total of issues in all sets have you tried 98*12 -- Don Guillett SalesAid Software dguillett1@austin.rr.com "Just Me" <no@isp.com> wrote in message news:eZ66ZEGHGHA.1192@TK2MSFTNGP11.phx.gbl... >I have 98 sets of magazines each set has 12 in the set > > what formula can I use to get a total of issues in all sets > =98*12 or =A1*A2 if the numbers are in A1 and A2 -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Just Me" <n...

Public Folder Problem #9
We are running Exchange 2003 SP2 and Windows 2003 Server SP1. Our public folders got messed up in our remote site, and I deleted the public store on that server and recreated it figuring I could backfill from our Main corporate mail server, running the same configuration. The remote site doesn't show any of the replicas from our corporate box even though I have added them. I turned Public Folder logging to maxium on both servers and they are saying they are replicating fine. Does anyone have any ideas how I can fix this? If you need more information, I would be more than happy ...

EUREKA -- the mutual fund problem is fixed
I just tried once more to update my Fidelity Funds in MS Money and, this time, the update worked. Both the quotes and the date were correct. EUREKA! Honestly, thanks to all who, like me, bugged Microsoft endlessly to understand the complexities of this problem and to get it fixed. We did it! "Chuck Leven" <CHLeven@hotmail.com> wrote in message news:%230lQmZ03FHA.3636@TK2MSFTNGP09.phx.gbl... >I just tried once more to update my Fidelity Funds in MS Money and, this >time, the update worked. Both the quotes and the date were correct. >EUREKA! Mine just upda...

Problem getting values in iframe
Hi, I have placed an iframe to the account form. This iframe calls an .aspx page that is also placed on the same server as the CRM. I am trying to get an value from the CRM form to the .aspx page in the iFrame. my function that I call upon "onLoad": <script language="javascript"> function GetSomeValues() { document.getElementById('TextBox1').value = parent.document.forms[0].all.name.DataValue; } </script> This fails! I get the message: "Access denied!" Is there any setting in the CRM I have forgotten to turn on or off?? Can a...

Invoice Customers On Account
When invoice customers on account a "Sales Receipt" is generated and sent to my epson receipt printer, however most of my corporate clients "account departments" do not accept a "Sales Receipt". My question is: 1) How do I printer a receipt to say "Invoice" not "Sales Receipt"? 2) How do I send this "Invoice" to my laser printer and not my Epson Receipt Printer? ~Johnny @ Mr. Inkjet Inc. You can download 'Invoice' receipt files here https://mbs.microsoft.com/customersource/support/downloads/reportslibrary/rms/ModifiedRe...

Puzzling font problem
Hello, I have an mfc app that is exhibiting incorrect output using ExtTextOut(), but only with certain fonts and certain characters. For example, using Arial, the inverted question mark is display as the "ae" character. As I switch fonts in the app, it is displayed as it should. Any comments would be much appreciated.... Definitely puzzling. I've looked through several font sets, including the old IBM OEM font and modern Unicode, but nothing leapt out as to why this should be happening. Can you create an absolutely minimal app that exhibits this behavior? joe On 30 Ja...

Formula #29
Hi, What formula should I use if I want it to look at a specific cell and then work out the total number between two numbers. e.g. if cell H6 had 7-4 entered the number 9 would be returned. Thanks in advance I'm not sure how you got 9, but your life would be much easier if you used two separate cells and then subtracted the smaller from the larger (and then added one???). Boenerge wrote: > > Hi, > What formula should I use if I want it to look at a specific cell and then > work out the total number between two numbers. > e.g. if cell H6 had 7-4 entered the number 9 woul...

Can offset be used in this formula?
Can the offset be used in the below formula for the information in column "K"? In column L have the the following formula's L46 =MAX(\$I46*1000-\$K\$46*\$J46,0) L47 =MAX(\$I47*1000-\$K\$46*\$J47,0) .... L99 =MAX(\$I99*1000-\$K\$46*\$J99,0) What I'd like to do is to copy the fomula into columns M, N, O, ... M47 =MAX(\$I47*1000-\$K\$47*\$J47,0) M48 =MAX(\$I48*1000-\$K\$47*\$J48,0) M49 =MAX(\$I49*1000-\$K\$47*\$J49,0) .... N48 =MAX(\$I48*1000-\$K\$48*\$J48,0) N49 =MAX(\$I49*1000-\$K\$48*\$J49,0) .... O50 =MAX(\$I50*1000-\$K\$50*\$J50,0) O51 =MAX(\$I51*1000-\$K\$50*\$J51,0) .... How abou...

Formula to return tomorrow's date.
I have a report that must be turned in the night before for tomorrow's date. Is ithere a date formula that will return tomorrow's date to a cell in Excel? One way: =TODAY() + 1 In article <668782AC-774A-475F-9821-8A4C3B14A983@microsoft.com>, "Shadyhosta" <Shadyhosta@discussions.microsoft.com> wrote: > I have a report that must be turned in the night before for tomorrow's date. > Is ithere a date formula that will return tomorrow's date to a cell in Excel? I assume that you want the date to remain static after entry. Easiest way, use 2...

Weekday formula
Can anyone help with the weekday formula. What I want to do is enter the date in say A1 11/20/2003 and have B return the answer of Thursday. Currently I use the weekday formula bu only returns the number of the day. Thanks in advance B ----------------------------------------------- ~~ Message posted from http://www.ExcelTip.com ~~View and post usenet messages directly from http://www.ExcelForum.com There are several ways to do this. One is to enter =A1 and format the cell with a custom number format of dddd. Another way is to use the function =TEXT(A1,"dddd"). -- Cordiall...

Formula to return a formula
At least I think that's what I'm looking for. here's my situation: I've got a sheet where there is a variable (X) that changes depending on what row it is on. So I have a column (column c) that lists these variables (X is dependant on things from a different sheet). X is a muliplier that is utilized differently depending on the value of N. N is a Picklist selection and can change periodically. Or even be duplicated on more than one row. I have a vlookup that checks the value of N (column a) and needs to return a formula that has X applied if needed on the approp...

User Manager Login problem
Hi, I've just installed MS CRM 1.2. Everything works fine, however when I attempt to logon to the User Manager, I get the following error: "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON." (80040e4d) Any ideas? Thanks in advance! Mike Mike, Did you go through the steps of assigning a license to the Admin user? Matt Parks ---------------------------------------- ---------------------------------------- On Fri, 16 Apr 2004 04:55:49 -0400, "mikieg_99" <mike.gallagher@etypemedia.co.uk> wrote: Hi, I've just installed MS CRM 1.2. Everything work...

Count formula within a named range.
Hi, How do I change the following formula =SUMIF(\$F\$39:\$F\$79,"PW Shopfitters",\$D\$39:\$D\$79)/COUNTIF(\$F\$39:\$F\$79,"PW Shopfitters") to count within a named range (PW Shopfitters). Any help would be great. Cheers, Phil Hi A range name cannot have spaces, maybe that's your problem. Name your range PW_Shopfitters. Then replace your cell references with PW_Shopfitters, eg =Sumif(PW_Shopfitters,"PW Shopfitters",............ -- j.kasselman@atlantic.net.remove_2nd_at. Randburg, Gauteng, South Africa "PW11111" wrote: > > Hi, > &g...

How to use a text formula as code formula
Hello. I have this formula loaded from a text field on a form: val([field10])+val([field20]) and I would like to use this as a code formula. I mean, if I use that in VBA code it works, but If I load from a text field it doesn't work. I need that my form use that formula stored in a text field to calculate values. Regards in advance, Marco responded to in another newsgroup. It's rarely necessary to post the same question to more than one group. If it is necessary, select all the relevant newsgroups in the "To:" or "Newsgroups:" field. That way, folks who...

Inbox problems
How do I set up an inbox for each user on my PC I don't want them in my inbox and I don't want to run through thier e-mail to find mine. Please help. State your version and mode of Outlook - no one can help without basic information. --� Milly Staples [MVP - Outlook] Post all replies to the group to keep the discussion intact. After searching google.groups.com and finding no answer: Charles <anonymous@discussions.microsoft.com> asked: | How do I set up an inbox for each user on my PC I don't | want them in my inbox and I don't want to run through | thier e-mail to ...

Including a formula in a path name.
Dear MS, How about a new function for this one. I'm sure MANY users have the same problem as me. The research below seems quite comprehensive and has effectively come up against a brick wall. Thanks Peter Harlan Grove posted this UDF: http://www.google.com/groups?selm=hkQVb.2432%24_4.259%40www.newsranger.com Peter wrote: > > Very Helpful Papou - thank you! > Do you know of an additional / alternative method where you achieve the same tihing but are not required to have all the relevant work sheets open? > Many thanks > Peter > > "papou" wrote: > ...

Problem Creating Contract through SDK (Urgent please)
I have a strange problem creating a contract as illustrated in the code below, Unfortuantely the exception thrown by MS CRM is not very helpful. contract Create(Guid accountId) { account a = Service.Retrieve(EntityName.account.ToString(), accountId, new AllColumns()) as account; if (a == null) return null; contract con = new contract(); try { //ServiceTemplate function works! Lookup t = new Lookup(); t.type = EntityName.contracttemplate.ToString(); t.Value =...

Pls Help Me Out
hi guys today i made a damn mistake of my life im using exchange 2k3 sp2 im facing problems in OWA im using form based authentication its giving me message 440 login timeout when i enter mail.mydomin.com its redirects the request but no login page of owa just giving me message 440 login timeout when i uncheck foam based authentication in exchange its giving me FBA login Box and every thing works fine but checking foam based authentication giving me message 440 login time out error messaege but let me tell me one thing today i was editing my logon.asp i have replaced with old backup file...

FORMULA #14
What formula in access can do =COUNTIF(CAF!D:D,A3) Basicly I have 2 tables I want the 2nd table to count how many times a number is listed in the 1st table. I am trying to do this with a query and the count expression but keep getting errors. Dont bother with this one guys just figured it out AMDGUY [MCP] wrote: > What formula in access can do > =COUNTIF(CAF!D:D,A3) > > Basicly I have 2 tables > > I want the 2nd table to count how many times a number is listed in the > 1st table. I am trying to do this with a query and the count expression > but keep getting e...