Creating a formula from the results of another formula

sapapd

New Member
Joined
Dec 2, 2009
Messages
7
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. Mobile
  3. Web
D=July E=August F=September G=October H=November I=December

I have this formula: =SUM(D9,G9,I9)/3 in cell R9

In cell T9 I need a formula which states: If R9=D9, July, , If R9=G9, October, , If R9=I9, December, , (the extra space and comma are there purposely so I do not have to use Concatenate)

The result would be July, October, December



Any assistance would be greatly appreciated.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
This is easily accomplished with VBA and a Case statement. Is D9, G9 and I9 the only cells that should be checked?
 
Upvote 0
I need a formula which looks at another formula to determine if the information equals what is requested, and if it does, enter the requested information.

Example: If the formula in cell R6 equals "D" enter the month which corresponds with the column "D", and If the formula in cell R6 equals "E" enter the month which corresponds with the column "E", etc.

I can get the formula to return the first qualifying month, however I am having trouble with the formula returning the other months that match the remaining formula from the 3 Month Average total.



DEFGHIJKLMNOPQRST
5JULYAUGUSTSEPTEMBEROCTOBERNOVEMBERDECEMBERJANUARYFEBRUARYMARCHAPRILMAYJUNETOTALTotal / 123 Month AverageAnnualized
Est. FY 17-18
Projection formula

This is the formula I am trying to reach
formula =Month which corresponds to formula of column and row from "3 month Average total"
64113,5906,857456,7447,84313,628(24)6,8107,0177,30614,21284,0697,0067,044
(formula) =SUM(L6,M6,N6)/3
84,531 3 month average times 12
March, April, May

<tbody>
</tbody>
 
Upvote 0
I would rather not have to use VBA (since I am not too familiar with the inter-workings of it), and no, it would include checking columns D-O with the corresponding row. Thanks.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,647
Messages
6,120,722
Members
448,987
Latest member
marion_davis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top